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
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 ], [
lib/docs/scrapers/jinja.rb+7−2
@@ -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] = <<-HTML15 options[:attribution] = <<-HTML
16 &copy; 2007&ndash;2020 Pallets<br>16 &copy; 2007&ndash;2021 Pallets<br>
17 Licensed under the BSD 3-clause License.17 Licensed under the BSD 3-clause License.
18 HTML18 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' do25 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}/"