Update Flask documentation (2.0.x)

This commit is contained in:
Simon Legner 2021-05-13 11:40:25 +02:00
parent 1ac3dd93dd
commit 6f3c1167e2
2 changed files with 7 additions and 2 deletions

View file

@ -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'
], [

View file

@ -14,10 +14,15 @@ module Docs
options[:skip_patterns] = [/\Atutorial\//]
options[:attribution] = <<-HTML
&copy; 2007&ndash;2020 Pallets<br>
&copy; 2007&ndash;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}/"