File tree Expand file tree Collapse file tree
assets/javascripts/templates/pages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -566,7 +566,7 @@ credits = [
566566 ' https://creativecommons.org/licenses/by/3.0/'
567567 ], [
568568 ' Twig' ,
569- ' 2009-2016 The Twig Team' ,
569+ ' 2009-2017 The Twig Team' ,
570570 ' BSD' ,
571571 ' http://twig.sensiolabs.org/license'
572572 ], [
Original file line number Diff line number Diff line change 11module Docs
22 class Twig < UrlScraper
33 self . type = 'sphinx'
4- self . release = '1.29'
5- self . base_url = 'http://twig.sensiolabs.org/doc/'
64 self . root_path = 'index.html'
75 self . initial_paths = %w( extensions/index.html )
86 self . links = {
@@ -11,14 +9,24 @@ class Twig < UrlScraper
119 }
1210
1311 options [ :attribution ] = <<-HTML
14- © 2009–2016 by the Twig Team< br >
12+ © 2009–2017 by the Twig Team< br >
1513 Licensed under the three clause BSD license.< br >
16- The Twig logo is © 2010–2016 SensioLabs
14+ The Twig logo is © 2010–2017 SensioLabs
1715 HTML
1816
1917 html_filters . push 'twig/clean_html' , 'twig/entries'
2018
2119 options [ :container ] = 'div.bd > div.content'
2220 options [ :skip ] = %w( deprecated.html advanced_legacy.html )
21+
22+ version '2' do
23+ self . release = '2.1.0'
24+ self . base_url = 'http://twig.sensiolabs.org/doc/2.x/'
25+ end
26+
27+ version '1' do
28+ self . release = '1.31.0'
29+ self . base_url = 'http://twig.sensiolabs.org/doc/1.x/'
30+ end
2331 end
2432end
You can’t perform that action at this time.
0 commit comments