History

Update Jinja documentation (3.0.x)

Simon Legner committed 5 years ago

Commit f378bc01 parent b6ddb212 files · +8 −3Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/scrapers/jinja.rb +7 −2
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -413,7 +413,7 @@ credits = [ · 412 unmodified lines
413413 'https://raw.githubusercontent.com/facebook/jest/master/LICENSE'
414414 ], [
415415 'Jinja',
416− '2007-2020 Pallets',
416+ '2007-2021 Pallets',
417417 'BSD',
418418 'https://github.com/pallets/jinja/blob/master/LICENSE.rst'
419419 ], [
lib/docs/scrapers/jinja.rb+7−2
@@ -9,14 +9,19 @@ module Docs · 8 unmodified lines
99
1010 html_filters.push 'jinja/entries', 'sphinx/clean_html'
1111
12− options[:container] = '.body > .section'
12+ options[:container] = '.body > section'
1313 options[:skip] = %w(integration/ switching/ faq/ changelog/ search/ genindex/)
1414
1515 options[:attribution] = <<-HTML
16− &copy; 2007&ndash;2020 Pallets<br>
16+ &copy; 2007&ndash;2021 Pallets<br>
1717 Licensed under the BSD 3-clause License.
1818 HTML
1919
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+
2025 version '2.11' do
2126 self.release = '2.11.x'
2227 self.base_url = "https://jinja.palletsprojects.com/en/#{self.release}/"