Skip to content

Commit 755a50b

Browse files
xabbuhGuikingone
authored andcommitted
update Twig documentation links
1 parent 853c4a1 commit 755a50b

File tree

13 files changed

+22
-22
lines changed

13 files changed

+22
-22
lines changed

best_practices/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,4 +183,4 @@ just one or two words to describe the purpose of the parameter:
183183
Next: :doc:`/best_practices/business-logic`
184184

185185
.. _`feature toggles`: https://en.wikipedia.org/wiki/Feature_toggle
186-
.. _`constant() function`: http://twig.sensiolabs.org/doc/functions/constant.html
186+
.. _`constant() function`: https://twig.symfony.com/doc/2.x/functions/constant.html

best_practices/templates.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,5 @@ be used as a Twig extension.
118118

119119
Next: :doc:`/best_practices/forms`
120120

121-
.. _`Twig`: http://twig.sensiolabs.org/
121+
.. _`Twig`: https://twig.symfony.com/
122122
.. _`Parsedown`: http://parsedown.org/

components/form.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -756,5 +756,5 @@ Learn more
756756
/form/*
757757

758758
.. _Packagist: https://packagist.org/packages/symfony/form
759-
.. _Twig: http://twig.sensiolabs.org
760-
.. _`Twig Configuration`: http://twig.sensiolabs.org/doc/intro.html
759+
.. _Twig: https://twig.symfony.com
760+
.. _`Twig Configuration`: https://twig.symfony.com/doc/2.x/intro.html

contributing/documentation/standards.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ In addition, documentation follows these rules:
174174
* himself or herself, use themselves
175175

176176
.. _`the Sphinx documentation`: http://sphinx-doc.org/rest.html#source-code
177-
.. _`Twig Coding Standards`: http://twig.sensiolabs.org/doc/coding_standards.html
177+
.. _`Twig Coding Standards`: https://twig.symfony.com/doc/2.x/coding_standards.html
178178
.. _`reserved by the IANA`: http://tools.ietf.org/html/rfc2606#section-3
179179
.. _`American English`: https://en.wikipedia.org/wiki/American_English
180180
.. _`American English Oxford Dictionary`: http://en.oxforddictionaries.com/definition/american_english/

create_framework/http_foundation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ component is the start of better interoperability between all frameworks and
288288
applications using it (like `Symfony`_, `Drupal 8`_, `phpBB 3`_, `ezPublish
289289
5`_, `Laravel`_, `Silex`_ and `more`_).
290290

291-
.. _`Twig`: http://twig.sensiolabs.org/
291+
.. _`Twig`: https://twig.symfony.com/
292292
.. _`HTTP specification`: https://tools.ietf.org/wg/httpbis/
293293
.. _`audited`: https://symfony.com/blog/symfony2-security-audit
294294
.. _`Symfony`: https://symfony.com/

introduction/from_flat_php_to_symfony2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,5 +709,5 @@ A good selection of `Symfony community tools`_ can be found on GitHub.
709709
.. _`download Composer`: https://getcomposer.org/download/
710710
.. _`Validator`: https://github.com/symfony/validator
711711
.. _`Varnish`: https://www.varnish-cache.org/
712-
.. _`Twig`: http://twig.sensiolabs.org
712+
.. _`Twig`: https://twig.symfony.com
713713
.. _`Symfony community tools`: https://github.com/search?q=topic%3Asymfony-bundle&type=Repositories

page_creation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ Go Deeper with HTTP & Framework Fundamentals
352352

353353
introduction/*
354354

355-
.. _`Twig`: http://twig.sensiolabs.org
355+
.. _`Twig`: https://twig.symfony.com
356356
.. _`Composer`: https://getcomposer.org
357357
.. _`Stellar Development with Symfony`: https://knpuniversity.com/screencast/symfony/setup
358358
.. _`symfony.sh`: https://symfony.sh/

reference/configuration/twig.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,4 +484,4 @@ If set to ``true``, Symfony shows an exception whenever a Twig variable,
484484
attribute or method doesn't exist. If set to ``false`` these errors are ignored
485485
and the non-existing values are replaced by ``null``.
486486

487-
.. _`the optimizer extension`: http://twig.sensiolabs.org/doc/api.html#optimizer-extension
487+
.. _`the optimizer extension`: https://twig.symfony.com/doc/2.x/api.html#optimizer-extension

reference/dic_tags.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,8 +1202,8 @@ Then, tag it with the ``validator.initializer`` tag (it has no options).
12021202
For an example, see the ``DoctrineInitializer`` class inside the Doctrine
12031203
Bridge.
12041204

1205-
.. _`Twig's documentation`: http://twig.sensiolabs.org/doc/advanced.html#creating-an-extension
1205+
.. _`Twig's documentation`: https://twig.symfony.com/doc/2.x/advanced.html#creating-an-extension
12061206
.. _`Twig official extension repository`: https://github.com/fabpot/Twig-extensions
12071207
.. _`KernelEvents`: https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpKernel/KernelEvents.php
12081208
.. _`SwiftMailer's Plugin Documentation`: http://swiftmailer.org/docs/plugins.html
1209-
.. _`Twig Loader`: http://twig.sensiolabs.org/doc/api.html#loaders
1209+
.. _`Twig Loader`: https://twig.symfony.com/doc/2.x/api.html#loaders

reference/forms/twig_reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,4 +381,4 @@ done by using a public ``vars`` property on the
381381
+------------------------+-------------------------------------------------------------------------------------+
382382

383383
.. _`form_div_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig
384-
.. _`the Twig documentation`: http://twig.sensiolabs.org/doc/templates.html#test-operator
384+
.. _`the Twig documentation`: https://twig.symfony.com/doc/2.x/templates.html#test-operator

reference/twig_reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ The available attributes are:
772772
object representing the security token
773773
* ``app.flashes``, returns flash messages from the session
774774

775-
.. _`Twig Reference`: http://twig.sensiolabs.org/documentation#reference
775+
.. _`Twig Reference`: https://twig.symfony.com/doc/2.x/#reference
776776
.. _`Twig Extensions repository`: https://github.com/twigphp/Twig-extensions
777777
.. _`Twig Extensions documentation`: http://twig-extensions.readthedocs.io/en/latest/
778778
.. _`Twig Bridge`: https://github.com/symfony/symfony/tree/master/src/Symfony/Bridge/Twig/Extension

templating.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -952,11 +952,11 @@ Learn more
952952

953953
/templating/*
954954

955-
.. _`Twig`: http://twig.sensiolabs.org
956-
.. _`tags`: http://twig.sensiolabs.org/doc/tags/index.html
957-
.. _`filters`: http://twig.sensiolabs.org/doc/filters/index.html
958-
.. _`functions`: http://twig.sensiolabs.org/doc/functions/index.html
959-
.. _`add your own extensions`: http://twig.sensiolabs.org/doc/advanced.html#creating-an-extension
960-
.. _`with_context`: http://twig.sensiolabs.org/doc/functions/include.html
961-
.. _`include() function`: http://twig.sensiolabs.org/doc/functions/include.html
962-
.. _`{% include %} tag`: http://twig.sensiolabs.org/doc/tags/include.html
955+
.. _`Twig`: https://twig.symfony.com
956+
.. _`tags`: https://twig.symfony.com/doc/2.x/tags/index.html
957+
.. _`filters`: https://twig.symfony.com/doc/2.x/filters/index.html
958+
.. _`functions`: https://twig.symfony.com/doc/2.x/functions/index.html
959+
.. _`add your own extensions`: https://twig.symfony.com/doc/2.x/advanced.html#creating-an-extension
960+
.. _`with_context`: https://twig.symfony.com/doc/2.x/functions/include.html
961+
.. _`include() function`: https://twig.symfony.com/doc/2.x/functions/include.html
962+
.. _`{% include %} tag`: https://twig.symfony.com/doc/2.x/tags/include.html

templating/escaping.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ in a JavaScript string, use the ``js`` context:
8888
var myMsg = 'Hello <?php echo $view->escape($name, 'js') ?>';
8989

9090
.. _`Cross Site Scripting`: https://en.wikipedia.org/wiki/Cross-site_scripting
91-
.. _`Output Escaping`: http://twig.sensiolabs.org/doc/api.html#escaper-extension
91+
.. _`Output Escaping`: https://twig.symfony.com/doc/2.x/api.html#escaper-extension

0 commit comments

Comments
 (0)