Unified · Split
| @@ -413,7 +413,7 @@ credits = [ · 412 unmodified lines | |||
| 413 | 'https://raw.githubusercontent.com/facebook/jest/master/LICENSE' | 413 | 'https://raw.githubusercontent.com/facebook/jest/master/LICENSE' |
| 414 | ], [ | 414 | ], [ |
| 415 | 'Jinja', | 415 | 'Jinja', |
| 416 | '2007-2020 Pallets', | 416 | '2007-2021 Pallets', |
| 417 | 'BSD', | 417 | 'BSD', |
| 418 | 'https://github.com/pallets/jinja/blob/master/LICENSE.rst' | 418 | 'https://github.com/pallets/jinja/blob/master/LICENSE.rst' |
| 419 | ], [ | 419 | ], [ |
| @@ -9,14 +9,19 @@ module Docs · 8 unmodified lines | |||
| 9 | 9 | ||
| 10 | html_filters.push 'jinja/entries', 'sphinx/clean_html' | 10 | html_filters.push 'jinja/entries', 'sphinx/clean_html' |
| 11 | 11 | ||
| 12 | options[:container] = '.body > .section' | 12 | options[:container] = '.body > section' |
| 13 | options[:skip] = %w(integration/ switching/ faq/ changelog/ search/ genindex/) | 13 | options[:skip] = %w(integration/ switching/ faq/ changelog/ search/ genindex/) |
| 14 | 14 | ||
| 15 | options[:attribution] = <<-HTML | 15 | options[:attribution] = <<-HTML |
| 16 | © 2007–2020 Pallets<br> | 16 | © 2007–2021 Pallets<br> |
| 17 | Licensed under the BSD 3-clause License. | 17 | Licensed under the BSD 3-clause License. |
| 18 | HTML | 18 | HTML |
| 19 | 19 | ||
| 20 | version '3.0' do | ||
| 21 | self.release = '3.0.x' | ||
| 22 | self.base_url = "https://jinja.palletsprojects.com/en/#{self.release}/" | ||
| 23 | end | ||
| 24 | |||
| 20 | version '2.11' do | 25 | version '2.11' do |
| 21 | self.release = '2.11.x' | 26 | self.release = '2.11.x' |
| 22 | self.base_url = "https://jinja.palletsprojects.com/en/#{self.release}/" | 27 | self.base_url = "https://jinja.palletsprojects.com/en/#{self.release}/" |