diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 191ba57e..78c2984d 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -924,7 +924,7 @@ credits = [ 'https://creativecommons.org/licenses/by/4.0/' ], [ 'Werkzeug', - '2007-2021 Pallets', + '2007-2022 Pallets', 'BSD', 'https://github.com/pallets/werkzeug/blob/master/LICENSE.rst' ], [ diff --git a/lib/docs/scrapers/werkzeug.rb b/lib/docs/scrapers/werkzeug.rb index 905ee8a9..b55559f6 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–2021 Pallets
+ © 2007–2022 Pallets
Licensed under the BSD 3-clause License. HTML + version '2.1' do + self.release = '2.1.x' + self.base_url = "https://werkzeug.palletsprojects.com/en/#{self.release}/" + end + version '2.0' do self.release = '2.0.x' self.base_url = "https://werkzeug.palletsprojects.com/en/#{self.release}/"