History

Update Werkzeug documentation (2.1.x)

Simon Legner committed 4 years ago

Commit 64af5451 parent a76fdcd2 files · +7 −2Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/scrapers/werkzeug.rb +6 −1
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -924,7 +924,7 @@ credits = [ · 923 unmodified lines
924924 'https://creativecommons.org/licenses/by/4.0/'
925925 ], [
926926 'Werkzeug',
927− '2007-2021 Pallets',
927+ '2007-2022 Pallets',
928928 'BSD',
929929 'https://github.com/pallets/werkzeug/blob/master/LICENSE.rst'
930930 ], [
lib/docs/scrapers/werkzeug.rb+6−1
@@ -13,10 +13,15 @@ module Docs · 12 unmodified lines
1313 options[:skip] = %w(changes/)
1414
1515 options[:attribution] = <<-HTML
16− &copy; 2007&ndash;2021 Pallets<br>
16+ &copy; 2007&ndash;2022 Pallets<br>
1717 Licensed under the BSD 3-clause License.
1818 HTML
1919
20+ version '2.1' do
21+ self.release = '2.1.x'
22+ self.base_url = "https://werkzeug.palletsprojects.com/en/#{self.release}/"
23+ end
24+
2025 version '2.0' do
2126 self.release = '2.0.x'
2227 self.base_url = "https://werkzeug.palletsprojects.com/en/#{self.release}/"