Sfoglia il codice sorgente

Update Twig documentation (2.4.3, 1.34.3)

Thibaut Courouble 8 anni fa
parent
commit
717d1b37cc

+ 1 - 1
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -602,7 +602,7 @@ credits = [
     'Twig',
     '2009-2017 The Twig Team',
     'BSD',
-    'http://twig.sensiolabs.org/license'
+    'https://twig.sensiolabs.org/license'
   ], [
     'TypeScript',
     'Microsoft and other contributors',

+ 5 - 5
lib/docs/scrapers/twig.rb

@@ -4,7 +4,7 @@ module Docs
     self.root_path = 'index.html'
     self.initial_paths = %w(extensions/index.html)
     self.links = {
-      home: 'http://twig.sensiolabs.org/',
+      home: 'https://twig.sensiolabs.org/',
       code: 'https://github.com/twigphp/Twig'
     }
 
@@ -20,13 +20,13 @@ module Docs
     options[:skip] = %w(deprecated.html advanced_legacy.html)
 
     version '2' do
-      self.release = '2.3.0'
-      self.base_url = 'http://twig.sensiolabs.org/doc/2.x/'
+      self.release = '2.4.3'
+      self.base_url = 'https://twig.sensiolabs.org/doc/2.x/'
     end
 
     version '1' do
-      self.release = '1.33.0'
-      self.base_url = 'http://twig.sensiolabs.org/doc/1.x/'
+      self.release = '1.34.3'
+      self.base_url = 'https://twig.sensiolabs.org/doc/1.x/'
     end
   end
 end