Update Jinja documentation (3.0.x)

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

@ -413,7 +413,7 @@ credits = [
'https://raw.githubusercontent.com/facebook/jest/master/LICENSE' 'https://raw.githubusercontent.com/facebook/jest/master/LICENSE'
], [ ], [
'Jinja', 'Jinja',
'2007-2020 Pallets', '2007-2021 Pallets',
'BSD', 'BSD',
'https://github.com/pallets/jinja/blob/master/LICENSE.rst' 'https://github.com/pallets/jinja/blob/master/LICENSE.rst'
], [ ], [

@ -9,14 +9,19 @@ module Docs
html_filters.push 'jinja/entries', 'sphinx/clean_html' html_filters.push 'jinja/entries', 'sphinx/clean_html'
options[:container] = '.body > .section' options[:container] = '.body > section'
options[:skip] = %w(integration/ switching/ faq/ changelog/ search/ genindex/) options[:skip] = %w(integration/ switching/ faq/ changelog/ search/ genindex/)
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2007&ndash;2020 Pallets<br> &copy; 2007&ndash;2021 Pallets<br>
Licensed under the BSD 3-clause License. Licensed under the BSD 3-clause License.
HTML HTML
version '3.0' do
self.release = '3.0.x'
self.base_url = "https://jinja.palletsprojects.com/en/#{self.release}/"
end
version '2.11' do version '2.11' do
self.release = '2.11.x' self.release = '2.11.x'
self.base_url = "https://jinja.palletsprojects.com/en/#{self.release}/" self.base_url = "https://jinja.palletsprojects.com/en/#{self.release}/"

Loading…
Cancel
Save