From 5d84f94f367d4cb009253befb53f62e28dad16f1 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 4 Nov 2018 18:43:45 -0500 Subject: [PATCH] Update Twig documentation (2.5.0) --- assets/javascripts/templates/pages/about_tmpl.coffee | 4 ++-- lib/docs/scrapers/twig.rb | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 6e0e15ff..a0d2f6f0 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -692,9 +692,9 @@ credits = [ 'https://raw.githubusercontent.com/hashicorp/terraform-website/master/LICENSE.md' ], [ 'Twig', - '2009-2017 The Twig Team', + '2009-2018 The Twig Team', 'BSD', - 'https://twig.sensiolabs.org/license' + 'https://twig.symfony.com/license' ], [ 'TypeScript', 'Microsoft and other contributors', diff --git a/lib/docs/scrapers/twig.rb b/lib/docs/scrapers/twig.rb index e382bfef..4781dcb2 100755 --- a/lib/docs/scrapers/twig.rb +++ b/lib/docs/scrapers/twig.rb @@ -4,14 +4,14 @@ module Docs self.root_path = 'index.html' self.initial_paths = %w(extensions/index.html) self.links = { - home: 'https://twig.sensiolabs.org/', + home: 'https://twig.symfony.com/', code: 'https://github.com/twigphp/Twig' } options[:attribution] = <<-HTML - © 2009–2017 by the Twig Team
+ © 2009–2018 by the Twig Team
Licensed under the three clause BSD license.
- The Twig logo is © 2010–2017 SensioLabs + The Twig logo is © 2010–2018 Symfony HTML html_filters.push 'twig/clean_html', 'twig/entries' @@ -20,13 +20,13 @@ module Docs options[:skip] = %w(deprecated.html advanced_legacy.html) version '2' do - self.release = '2.4.3' - self.base_url = 'https://twig.sensiolabs.org/doc/2.x/' + self.release = '2.5.0' + self.base_url = 'https://twig.symfony.com/doc/2.x/' end version '1' do 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