Update Twig documentation (2.5.0)

pull/929/head
Thibaut Courouble 6 years ago
parent 8e97ce09d7
commit 5d84f94f36

@ -692,9 +692,9 @@ credits = [
'https://raw.githubusercontent.com/hashicorp/terraform-website/master/LICENSE.md' 'https://raw.githubusercontent.com/hashicorp/terraform-website/master/LICENSE.md'
], [ ], [
'Twig', 'Twig',
'2009-2017 The Twig Team', '2009-2018 The Twig Team',
'BSD', 'BSD',
'https://twig.sensiolabs.org/license' 'https://twig.symfony.com/license'
], [ ], [
'TypeScript', 'TypeScript',
'Microsoft and other contributors', 'Microsoft and other contributors',

@ -4,14 +4,14 @@ module Docs
self.root_path = 'index.html' self.root_path = 'index.html'
self.initial_paths = %w(extensions/index.html) self.initial_paths = %w(extensions/index.html)
self.links = { self.links = {
home: 'https://twig.sensiolabs.org/', home: 'https://twig.symfony.com/',
code: 'https://github.com/twigphp/Twig' code: 'https://github.com/twigphp/Twig'
} }
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2009&ndash;2017 by the Twig Team<br> &copy; 2009&ndash;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 &copy; 2010&ndash;2017 SensioLabs The Twig logo is &copy; 2010&ndash;2018 Symfony
HTML HTML
html_filters.push 'twig/clean_html', 'twig/entries' html_filters.push 'twig/clean_html', 'twig/entries'
@ -20,13 +20,13 @@ module Docs
options[:skip] = %w(deprecated.html advanced_legacy.html) options[:skip] = %w(deprecated.html advanced_legacy.html)
version '2' do version '2' do
self.release = '2.4.3' self.release = '2.5.0'
self.base_url = 'https://twig.sensiolabs.org/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.34.3'
self.base_url = 'https://twig.sensiolabs.org/doc/1.x/' self.base_url = 'https://twig.symfony.com/doc/1.x/'
end end
end end
end end

Loading…
Cancel
Save