Update Flask documentation (2.1.x)

pull/1730/head
Simon Legner 3 years ago
parent 64af545cf6
commit bbab9d53c6

@ -324,7 +324,7 @@ credits = [
'https://fishshell.com/docs/current/license.html'
], [
'Flask',
'2007-2021 Pallets',
'2007-2022 Pallets',
'BSD',
'https://github.com/pallets/flask/blob/master/LICENSE.rst'
], [

@ -9,15 +9,20 @@ module Docs
html_filters.push 'flask/entries', 'sphinx/clean_html'
options[:container] = '.body > .section'
options[:container] = '.body > section'
options[:skip] = %w(extensiondev/ styleguide/ upgrading/ changelog/ license/ contributing/)
options[:skip_patterns] = [/\Atutorial\//]
options[:attribution] = <<-HTML
&copy; 2007&ndash;2021 Pallets<br>
&copy; 2007&ndash;2022 Pallets<br>
Licensed under the BSD 3-clause License.
HTML
version '2.1' do
self.release = '2.1.x'
self.base_url = "https://flask.palletsprojects.com/en/#{self.release}/"
end
version '2.0' do
self.release = '2.0.x'
self.base_url = "https://flask.palletsprojects.com/en/#{self.release}/"

Loading…
Cancel
Save