Update Werkzeug documentation (2.0.x)

pull/1546/head
Simon Legner 4 years ago
parent d0b63b6036
commit b6ddb21a2f

@ -858,7 +858,7 @@ credits = [
'https://creativecommons.org/licenses/by/4.0/'
], [
'Werkzeug',
'2007-2020 Pallets',
'2007-2021 Pallets',
'BSD',
'https://github.com/pallets/werkzeug/blob/master/LICENSE.rst'
], [

@ -9,14 +9,19 @@ module Docs
html_filters.push 'werkzeug/entries', 'sphinx/clean_html'
options[:container] = '.body > .section'
options[:container] = '.body > section'
options[:skip] = %w(changes/)
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://werkzeug.palletsprojects.com/en/#{self.release}/"
end
version '1.0' do
self.release = '1.0.x'
self.base_url = "https://werkzeug.palletsprojects.com/en/#{self.release}/"

Loading…
Cancel
Save