Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 78ab388

Browse filesBrowse files
committed
Fix references
1 parent 58cf2af commit 78ab388
Copy full SHA for 78ab388

File tree

Expand file treeCollapse file tree

3 files changed

+4
-13
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+4
-13
lines changed

‎reference/dic_tags.rst

Copy file name to clipboardExpand all lines: reference/dic_tags.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1287,7 +1287,7 @@ the service is auto-registered and auto-tagged. But, you can also register it ma
12871287
12881288
For information on how to create the actual Twig Extension class, see
12891289
`Twig's documentation`_ on the topic or read the
1290-
:doc:`/templating/twig_extension` article.
1290+
:ref:`templates-twig-extension` article.
12911291

12921292
twig.loader
12931293
-----------

‎reference/twig_reference.rst

Copy file name to clipboardExpand all lines: reference/twig_reference.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ components with Twig templates. This article explains them all.
1212
.. tip::
1313

1414
If these extensions provided by Symfony are not enough, you can
15-
:doc:`create a custom Twig extension </templating/twig_extension>` to define
15+
:ref:`create a custom Twig extension <templates-twig-extension>` to define
1616
even more filters and functions.
1717

1818
.. _reference-twig-functions:

‎templates.rst

Copy file name to clipboardExpand all lines: templates.rst
+2-11Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ being rendered, like the ``upper`` filter to uppercase contents:
6060
Twig comes with a long list of `tags`_, `filters`_ and `functions`_ that are
6161
available by default. In Symfony applications you can also use these
6262
:doc:`Twig filters and functions defined by Symfony </reference/twig_reference>`
63-
and you can :doc:`create your own Twig filters and functions </templating/twig_extension>`.
63+
and you can :ref:`create your own Twig filters and functions <templates-twig-extension>`.
6464

6565
Twig is fast in the ``prod`` :ref:`environment <configuration-environments>`
6666
(because templates are compiled into PHP and cached automatically), but
@@ -804,7 +804,7 @@ Inspecting Twig Information
804804

805805
The ``debug:twig`` command lists all the information available about Twig
806806
(functions, filters, global variables, etc.). It's useful to check if your
807-
:doc:`custom Twig extensions </templating/twig_extension>` are working properly
807+
:ref:`custom Twig extensions <templates-twig-extension>` are working properly
808808
and also to check the Twig features added when :ref:`installing packages <symfony-flex>`:
809809

810810
.. code-block:: terminal
@@ -1592,15 +1592,6 @@ If you're using the default ``services.yaml`` configuration, this will already
15921592
work! Otherwise, :ref:`create a service <service-container-creating-service>`
15931593
for this class and :doc:`tag your service </service_container/tags>` with ``twig.runtime``.
15941594

1595-
Learn more
1596-
----------
1597-
1598-
.. toctree::
1599-
:maxdepth: 1
1600-
:glob:
1601-
1602-
/templating/*
1603-
16041595
.. _`Twig`: https://twig.symfony.com
16051596
.. _`tags`: https://twig.symfony.com/doc/3.x/tags/index.html
16061597
.. _`filters`: https://twig.symfony.com/doc/3.x/filters/index.html

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.