Skip to content

Commit 24555f3

Browse files
committed
minor #10033 update Twig documentation links (xabbuh)
This PR was merged into the 2.8 branch. Discussion ---------- update Twig documentation links Commits ------- 18a4206 update Twig documentation links
2 parents 40bd38d + 18a4206 commit 24555f3

File tree

16 files changed

+29
-29
lines changed

16 files changed

+29
-29
lines changed

best_practices/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,4 +206,4 @@ through environment variables. Learn how to do it in the following article:
206206
Next: :doc:`/best_practices/business-logic`
207207

208208
.. _`feature toggles`: https://en.wikipedia.org/wiki/Feature_toggle
209-
.. _`constant() function`: http://twig.sensiolabs.org/doc/functions/constant.html
209+
.. _`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
@@ -170,5 +170,5 @@ name is irrelevant because you never use it in your own code):
170170

171171
Next: :doc:`/best_practices/forms`
172172

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

components/form.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -774,5 +774,5 @@ Learn more
774774
/form/*
775775

776776
.. _Packagist: https://packagist.org/packages/symfony/form
777-
.. _Twig: http://twig.sensiolabs.org
778-
.. _`Twig Configuration`: http://twig.sensiolabs.org/doc/intro.html
777+
.. _Twig: https://twig.symfony.com
778+
.. _`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
@@ -176,7 +176,7 @@ In addition, documentation follows these rules:
176176
* himself or herself, use themselves
177177

178178
.. _`the Sphinx documentation`: http://sphinx-doc.org/rest.html#source-code
179-
.. _`Twig Coding Standards`: http://twig.sensiolabs.org/doc/coding_standards.html
179+
.. _`Twig Coding Standards`: https://twig.symfony.com/doc/2.x/coding_standards.html
180180
.. _`reserved by the IANA`: http://tools.ietf.org/html/rfc2606#section-3
181181
.. _`American English`: https://en.wikipedia.org/wiki/American_English
182182
.. _`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
@@ -760,5 +760,5 @@ A good selection of `Symfony community tools`_ can be found on GitHub.
760760
.. _`download Composer`: https://getcomposer.org/download/
761761
.. _`Validator`: https://github.com/symfony/validator
762762
.. _`Varnish`: https://www.varnish-cache.org/
763-
.. _`Twig`: http://twig.sensiolabs.org
763+
.. _`Twig`: https://twig.symfony.com
764764
.. _`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
@@ -246,5 +246,5 @@ Go Deeper with HTTP & Framework Fundamentals
246246

247247
introduction/*
248248

249-
.. _`Twig`: http://twig.sensiolabs.org
249+
.. _`Twig`: https://twig.symfony.com
250250
.. _`Composer`: https://getcomposer.org

quick_tour/the_big_picture.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,4 +258,4 @@ how Symfony makes it really easy to implement web sites better and faster.
258258
If you are eager to learn more about Symfony, dive into the next section:
259259
":doc:`The View <the_view>`".
260260

261-
.. _`Twig`: http://twig.sensiolabs.org/
261+
.. _`Twig`: https://twig.symfony.com/

quick_tour/the_view.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,5 +287,5 @@ But I'm getting ahead of myself. First, you need to learn more about the
287287
controller and that's exactly the topic of the :doc:`next part of this tutorial
288288
<the_controller>`. Ready for another 10 minutes with Symfony?
289289

290-
.. _`Twig`: http://twig.sensiolabs.org/
291-
.. _`Twig documentation`: http://twig.sensiolabs.org/documentation
290+
.. _`Twig`: https://twig.symfony.com/
291+
.. _`Twig documentation`: https://twig.symfony.com/doc/2.x/

reference/configuration/twig.rst

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

357-
.. _`the optimizer extension`: http://twig.sensiolabs.org/doc/api.html#optimizer-extension
357+
.. _`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
@@ -1452,8 +1452,8 @@ Then, tag it with the ``validator.initializer`` tag (it has no options).
14521452
For an example, see the ``DoctrineInitializer`` class inside the Doctrine
14531453
Bridge.
14541454

1455-
.. _`Twig's documentation`: http://twig.sensiolabs.org/doc/advanced.html#creating-an-extension
1455+
.. _`Twig's documentation`: https://twig.symfony.com/doc/2.x/advanced.html#creating-an-extension
14561456
.. _`Twig official extension repository`: https://github.com/fabpot/Twig-extensions
14571457
.. _`KernelEvents`: https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpKernel/KernelEvents.php
14581458
.. _`SwiftMailer's Plugin Documentation`: http://swiftmailer.org/docs/plugins.html
1459-
.. _`Twig Loader`: http://twig.sensiolabs.org/doc/api.html#loaders
1459+
.. _`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
@@ -408,4 +408,4 @@ done by using a public ``vars`` property on the
408408
+------------------------+-------------------------------------------------------------------------------------+
409409

410410
.. _`form_div_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig
411-
.. _`the Twig documentation`: http://twig.sensiolabs.org/doc/templates.html#test-operator
411+
.. _`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
@@ -795,7 +795,7 @@ Those bundles can have other Twig extensions:
795795
``{% image %}`` tags. You can read more about them in
796796
:doc:`the Assetic Documentation </frontend/assetic/asset_management>`.
797797

798-
.. _`Twig Reference`: http://twig.sensiolabs.org/documentation#reference
798+
.. _`Twig Reference`: https://twig.symfony.com/doc/2.x/#reference
799799
.. _`Twig Extensions repository`: https://github.com/twigphp/Twig-extensions
800800
.. _`Twig Extensions documentation`: http://twig-extensions.readthedocs.io/en/latest/
801801
.. _`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
@@ -820,11 +820,11 @@ Learn more
820820

821821
/templating/*
822822

823-
.. _`Twig`: http://twig.sensiolabs.org
824-
.. _`tags`: http://twig.sensiolabs.org/doc/tags/index.html
825-
.. _`filters`: http://twig.sensiolabs.org/doc/filters/index.html
826-
.. _`functions`: http://twig.sensiolabs.org/doc/functions/index.html
827-
.. _`add your own extensions`: http://twig.sensiolabs.org/doc/advanced.html#creating-an-extension
828-
.. _`with_context`: http://twig.sensiolabs.org/doc/functions/include.html
829-
.. _`include() function`: http://twig.sensiolabs.org/doc/functions/include.html
830-
.. _`{% include %} tag`: http://twig.sensiolabs.org/doc/tags/include.html
823+
.. _`Twig`: https://twig.symfony.com
824+
.. _`tags`: https://twig.symfony.com/doc/2.x/tags/index.html
825+
.. _`filters`: https://twig.symfony.com/doc/2.x/filters/index.html
826+
.. _`functions`: https://twig.symfony.com/doc/2.x/functions/index.html
827+
.. _`add your own extensions`: https://twig.symfony.com/doc/2.x/advanced.html#creating-an-extension
828+
.. _`with_context`: https://twig.symfony.com/doc/2.x/functions/include.html
829+
.. _`include() function`: https://twig.symfony.com/doc/2.x/functions/include.html
830+
.. _`{% 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

templating/twig_extension.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ For a more in-depth look into Twig Extensions, please take a look at the
136136
`Twig extensions documentation`_.
137137

138138
.. _`Twig official extension repository`: https://github.com/twigphp/Twig-extensions
139-
.. _`Twig extensions documentation`: http://twig.sensiolabs.org/doc/advanced.html#creating-an-extension
140-
.. _`global variables`: http://twig.sensiolabs.org/doc/advanced.html#id1
141-
.. _`functions`: http://twig.sensiolabs.org/doc/advanced.html#id2
142-
.. _`Twig extensions documentation legacy`: http://twig.sensiolabs.org/doc/advanced_legacy.html#creating-an-extension
139+
.. _`Twig extensions documentation`: https://twig.symfony.com/doc/2.x/advanced.html#creating-an-extension
140+
.. _`global variables`: https://twig.symfony.com/doc/2.x/advanced.html#id1
141+
.. _`functions`: https://twig.symfony.com/doc/2.x/advanced.html#id2
142+
.. _`Twig extensions documentation legacy`: https://twig.symfony.com/doc/2.x/advanced_legacy.html#creating-an-extension

0 commit comments

Comments
 (0)