diff --git a/lib/docs/scrapers/flask.rb b/lib/docs/scrapers/flask.rb index 9d7234a5..08655e7a 100755 --- a/lib/docs/scrapers/flask.rb +++ b/lib/docs/scrapers/flask.rb @@ -14,10 +14,15 @@ module Docs options[:skip_patterns] = [/\Atutorial\//] options[:attribution] = <<-HTML - © 2007–2022 Pallets
+ © 2010 Pallets
Licensed under the BSD 3-clause License. HTML + version '3.0' do + self.release = '3.0.x' + self.base_url = "https://flask.palletsprojects.com/en/#{self.release}/" + end + version '2.3' do self.release = '2.3.x' self.base_url = "https://flask.palletsprojects.com/en/#{self.release}/" diff --git a/lib/docs/scrapers/werkzeug.rb b/lib/docs/scrapers/werkzeug.rb index 190d96c8..70379744 100755 --- a/lib/docs/scrapers/werkzeug.rb +++ b/lib/docs/scrapers/werkzeug.rb @@ -13,10 +13,15 @@ module Docs options[:skip] = %w(changes/) options[:attribution] = <<-HTML - © 2007–2022 Pallets
+ © 2007 Pallets
Licensed under the BSD 3-clause License. HTML + version '3.0' do + self.release = '3.0.x' + self.base_url = "https://werkzeug.palletsprojects.com/en/#{self.release}/" + end + version '2.3' do self.release = '2.3.x' self.base_url = "https://werkzeug.palletsprojects.com/en/#{self.release}/"