Skip to content

Commit 6f3c116

Browse files
committed
Update Flask documentation (2.0.x)
1 parent 1ac3dd9 commit 6f3c116

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ credits = [
308308
'https://fishshell.com/docs/current/license.html'
309309
], [
310310
'Flask',
311-
'2007-2020 Pallets',
311+
'2007-2021 Pallets',
312312
'BSD',
313313
'https://github.com/pallets/flask/blob/master/LICENSE.rst'
314314
], [

lib/docs/scrapers/flask.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,15 @@ class Flask < UrlScraper
1414
options[:skip_patterns] = [/\Atutorial\//]
1515

1616
options[:attribution] = <<-HTML
17-
&copy; 2007&ndash;2020 Pallets<br>
17+
&copy; 2007&ndash;2021 Pallets<br>
1818
Licensed under the BSD 3-clause License.
1919
HTML
2020

21+
version '2.0' do
22+
self.release = '2.0.x'
23+
self.base_url = "https://flask.palletsprojects.com/en/#{self.release}/"
24+
end
25+
2126
version '1.1' do
2227
self.release = '1.1.x'
2328
self.base_url = "https://flask.palletsprojects.com/en/#{self.release}/"

0 commit comments

Comments
 (0)