Prechádzať zdrojové kódy

Update Twig documentation (2.5.0)

Thibaut Courouble 7 rokov pred
rodič
commit
5d84f94f36

+ 2 - 2
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',

+ 6 - 6
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
-      &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>
-      The Twig logo is &copy; 2010&ndash;2017 SensioLabs
+      The Twig logo is &copy; 2010&ndash;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