|
|
@ -11,7 +11,7 @@ module Docs
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© 2009–2018 by the Twig Team<br>
|
|
|
|
© 2009–2018 by the Twig Team<br>
|
|
|
|
Licensed under the three clause BSD license.<br>
|
|
|
|
Licensed under the three clause BSD license.<br>
|
|
|
|
The Twig logo is © 2010–2018 Symfony
|
|
|
|
The Twig logo is © 2010–2020 Symfony
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|
|
|
html_filters.push 'twig/clean_html', 'twig/entries'
|
|
|
|
html_filters.push 'twig/clean_html', 'twig/entries'
|
|
|
@ -19,13 +19,18 @@ module Docs
|
|
|
|
options[:container] = 'div.bd > div.content'
|
|
|
|
options[:container] = 'div.bd > div.content'
|
|
|
|
options[:skip] = %w(deprecated.html advanced_legacy.html)
|
|
|
|
options[:skip] = %w(deprecated.html advanced_legacy.html)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
version '3' do
|
|
|
|
|
|
|
|
self.release = '3.1.1'
|
|
|
|
|
|
|
|
self.base_url = 'https://twig.symfony.com/doc/3.x/'
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
version '2' do
|
|
|
|
version '2' do
|
|
|
|
self.release = '2.5.0'
|
|
|
|
self.release = '2.14.1'
|
|
|
|
self.base_url = 'https://twig.symfony.com/doc/2.x/'
|
|
|
|
self.base_url = 'https://twig.symfony.com/doc/2.x/'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
version '1' do
|
|
|
|
version '1' do
|
|
|
|
self.release = '1.34.3'
|
|
|
|
self.release = '1.44.1'
|
|
|
|
self.base_url = 'https://twig.symfony.com/doc/1.x/'
|
|
|
|
self.base_url = 'https://twig.symfony.com/doc/1.x/'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
@ -33,5 +38,6 @@ module Docs
|
|
|
|
tags = get_github_tags('twigphp', 'Twig', opts)
|
|
|
|
tags = get_github_tags('twigphp', 'Twig', opts)
|
|
|
|
tags[0]['name'][1..-1]
|
|
|
|
tags[0]['name'][1..-1]
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|