[devdocsgjs/main: 1338/1867] Update Twig to 3.1.1 and update previous versions




commit 7a483c5f5f3a8c601d5d7c8bfc40f8df651cf5f0
Author: MasterEnoc <brianhernandez222 hotmail com>
Date:   Fri Dec 4 19:06:25 2020 -0600

    Update Twig to 3.1.1 and update previous versions

 assets/javascripts/templates/pages/about_tmpl.coffee |   2 +-
 lib/docs/scrapers/twig.rb                            |  12 +++++++++---
 public/icons/docs/twig/16.png                        | Bin 772 -> 613 bytes
 public/icons/docs/twig/16 2x png                     | Bin 2411 -> 1041 bytes
 public/icons/docs/twig/SOURCE                        |   2 +-
 5 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index afaf37a3..4e992a97 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -783,7 +783,7 @@ credits = [
     'https://raw.githubusercontent.com/python-trio/trio/master/LICENSE.MIT'
   ], [
     'Twig',
-    '2009-2018 The Twig Team',
+    '2009-2020 The Twig Team',
     'BSD',
     'https://twig.symfony.com/license'
   ], [
diff --git a/lib/docs/scrapers/twig.rb b/lib/docs/scrapers/twig.rb
index e52ff6bd..aa7b8a6c 100755
--- a/lib/docs/scrapers/twig.rb
+++ b/lib/docs/scrapers/twig.rb
@@ -11,7 +11,7 @@ module Docs
     options[:attribution] = <<-HTML
       &copy; 2009&ndash;2018 by the Twig Team<br>
       Licensed under the three clause BSD license.<br>
-      The Twig logo is &copy; 2010&ndash;2018 Symfony
+      The Twig logo is &copy; 2010&ndash;2020 Symfony
     HTML
 
     html_filters.push 'twig/clean_html', 'twig/entries'
@@ -19,13 +19,18 @@ module Docs
     options[:container] = 'div.bd > div.content'
     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
-      self.release = '2.5.0'
+      self.release = '2.14.1'
       self.base_url = 'https://twig.symfony.com/doc/2.x/'
     end
 
     version '1' do
-      self.release = '1.34.3'
+      self.release = '1.44.1'
       self.base_url = 'https://twig.symfony.com/doc/1.x/'
     end
 
@@ -33,5 +38,6 @@ module Docs
       tags = get_github_tags('twigphp', 'Twig', opts)
       tags[0]['name'][1..-1]
     end
+
   end
 end
diff --git a/public/icons/docs/twig/16.png b/public/icons/docs/twig/16.png
index 4ed5a5ba..8824ffc9 100644
Binary files a/public/icons/docs/twig/16.png and b/public/icons/docs/twig/16.png differ
diff --git a/public/icons/docs/twig/16 2x png b/public/icons/docs/twig/16 2x png
index 38ee63bb..731f3488 100644
Binary files a/public/icons/docs/twig/16 2x png and b/public/icons/docs/twig/16 2x png differ
diff --git a/public/icons/docs/twig/SOURCE b/public/icons/docs/twig/SOURCE
index e9916089..5d9a6be0 100644
--- a/public/icons/docs/twig/SOURCE
+++ b/public/icons/docs/twig/SOURCE
@@ -1 +1 @@
-http://twig.sensiolabs.org/images/twig-logo.png
+https://twig.sensiolabs.org/images/twig-logo.png


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]