Skip to content

Commit f378bc0

Browse files
committed
Update Jinja documentation (3.0.x)
1 parent b6ddb21 commit f378bc0

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ credits = [
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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,19 @@ class Jinja < UrlScraper
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}/"

0 commit comments

Comments
 (0)