[devdocsgjs/main: 1648/1867] Update Flask documentation (2.0.x)
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 1648/1867] Update Flask documentation (2.0.x)
- Date: Fri, 19 Nov 2021 23:48:13 +0000 (UTC)
commit 6f3c1167e265b2207d6f93abc8857ad29fc79d5c
Author: Simon Legner <Simon Legner gmail com>
Date: Thu May 13 11:40:25 2021 +0200
Update Flask documentation (2.0.x)
assets/javascripts/templates/pages/about_tmpl.coffee | 2 +-
lib/docs/scrapers/flask.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 dc9cd856..de411be7 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -308,7 +308,7 @@ credits = [
'https://fishshell.com/docs/current/license.html'
], [
'Flask',
- '2007-2020 Pallets',
+ '2007-2021 Pallets',
'BSD',
'https://github.com/pallets/flask/blob/master/LICENSE.rst'
], [
diff --git a/lib/docs/scrapers/flask.rb b/lib/docs/scrapers/flask.rb
index 2d3c0802..4251a61b 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–2020 Pallets<br>
+ © 2007–2021 Pallets<br>
Licensed under the BSD 3-clause License.
HTML
+ version '2.0' do
+ self.release = '2.0.x'
+ self.base_url = "https://flask.palletsprojects.com/en/#{self.release}/"
+ end
+
version '1.1' do
self.release = '1.1.x'
self.base_url = "https://flask.palletsprojects.com/en/#{self.release}/"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]