History

Update Twig documentation (2.5.0)

Thibaut Courouble committed 8 years ago

Commit 5d84f941 parent 8e97ce02 files · +8 −8Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +2 −2
  2. lib/docs/scrapers/twig.rb +6 −6
assets/javascripts/templates/pages/about_tmpl.coffee+2−2
@@ -692,9 +692,9 @@ credits = [ · 691 unmodified lines
692 'https://raw.githubusercontent.com/hashicorp/terraform-website/master/LICENSE.md'692 'https://raw.githubusercontent.com/hashicorp/terraform-website/master/LICENSE.md'
693 ], [693 ], [
694 'Twig',694 'Twig',
695 '2009-2017 The Twig Team',695 '2009-2018 The Twig Team',
696 'BSD',696 'BSD',
697 'https://twig.sensiolabs.org/license'697 'https://twig.symfony.com/license'
698 ], [698 ], [
699 'TypeScript',699 'TypeScript',
700 'Microsoft and other contributors',700 'Microsoft and other contributors',
lib/docs/scrapers/twig.rb+6−6
@@ -4,14 +4,14 @@ module Docs · 3 unmodified lines
4 self.root_path = 'index.html'4 self.root_path = 'index.html'
5 self.initial_paths = %w(extensions/index.html)5 self.initial_paths = %w(extensions/index.html)
6 self.links = {6 self.links = {
7 home: 'https://twig.sensiolabs.org/',7 home: 'https://twig.symfony.com/',
8 code: 'https://github.com/twigphp/Twig'8 code: 'https://github.com/twigphp/Twig'
9 }9 }
10 10
11 options[:attribution] = <<-HTML11 options[:attribution] = <<-HTML
12 &copy; 2009&ndash;2017 by the Twig Team<br>12 &copy; 2009&ndash;2018 by the Twig Team<br>
13 Licensed under the three clause BSD license.<br>13 Licensed under the three clause BSD license.<br>
14 The Twig logo is &copy; 2010&ndash;2017 SensioLabs14 The Twig logo is &copy; 2010&ndash;2018 Symfony
15 HTML15 HTML
16 16
17 html_filters.push 'twig/clean_html', 'twig/entries'17 html_filters.push 'twig/clean_html', 'twig/entries'
@@ -20,13 +20,13 @@ module Docs · 2 unmodified lines
20 options[:skip] = %w(deprecated.html advanced_legacy.html)20 options[:skip] = %w(deprecated.html advanced_legacy.html)
21 21
22 version '2' do22 version '2' do
23 self.release = '2.4.3'23 self.release = '2.5.0'
24 self.base_url = 'https://twig.sensiolabs.org/doc/2.x/'24 self.base_url = 'https://twig.symfony.com/doc/2.x/'
25 end25 end
26 26
27 version '1' do27 version '1' do
28 self.release = '1.34.3'28 self.release = '1.34.3'
29 self.base_url = 'https://twig.sensiolabs.org/doc/1.x/'29 self.base_url = 'https://twig.symfony.com/doc/1.x/'
30 end30 end
31 end31 end
32end32end