|
|
|
@ -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
|
|
|
|
|
© 2007–2021 Pallets<br>
|
|
|
|
|
© 2007–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}/"
|
|
|
|
|