[devdocsgjs/main: 4/64] Update Werkzeug documentation (2.1.x)
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 4/64] Update Werkzeug documentation (2.1.x)
- Date: Fri, 6 May 2022 23:47:32 +0000 (UTC)
commit 64af545cf676bb7f20d2c265b09edbd00c8c80a3
Author: Simon Legner <Simon Legner gmail com>
Date: Fri Apr 8 21:09:04 2022 +0200
Update Werkzeug documentation (2.1.x)
assets/javascripts/templates/pages/about_tmpl.coffee | 2 +-
lib/docs/scrapers/werkzeug.rb | 7 ++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
---
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<br>
+ © 2007–2022 Pallets<br>
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}/"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]