Update Flask documentation (2.0.x)

pull/1546/head
Simon Legner 4 years ago
parent 1ac3dd93dd
commit 6f3c1167e2

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

@ -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}/"

Loading…
Cancel
Save