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

Consolidate templating docs #17826

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Consolidate templating docs
  • Loading branch information
fabpot authored and javiereguiluz committed Jan 30, 2023
commit fa3a677b52f86a6914bdfb0a352d7d672e5d0d36
6 changes: 5 additions & 1 deletion 6 _build/redirection_map
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,8 @@
/cookbook/session/proxy_examples /session/proxy_examples
/cookbook/session/sessions_directory /session/sessions_directory
/cookbook/symfony1 /introduction/symfony1
/cookbook/templating/global_variables /templating/global_variables
/cookbook/templating/global_variables /templating#templating-global-variables
/templating/global_variables /templating#templating-global-variables
/cookbook/templating/index /templating
/cookbook/templating/namespaced_paths /templating/namespaced_paths
/cookbook/templating/PHP /templating/PHP
Expand Down Expand Up @@ -388,6 +389,9 @@
/quick_tour/the_view /quick_tour/flex_recipes
/service_container/service_locators /service_container/service_subscribers_locators
/templating/overriding /bundles/override
/templating/twig_extension /templates#templates-twig-extension
/templating/hinclude /templates#templates-hinclude
/templating/PHP /templates
/security/custom_provider /security/user_provider
/security/multiple_user_providers /security/user_provider
/security/custom_password_authenticator /security/guard_authentication
Expand Down
2 changes: 1 addition & 1 deletion 2 reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ is disabled. This can be either a template name or the content itself.

.. seealso::

See :doc:`/templating/hinclude` for more information about hinclude.
See :ref:`templates-hinclude` for more information about hinclude.

.. _reference-fragments-path:

Expand Down
2 changes: 1 addition & 1 deletion 2 reference/configuration/twig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ globals
**type**: ``array`` **default**: ``[]``

It defines the global variables injected automatically into all Twig templates.
Learn more about :doc:`Twig global variables </templating/global_variables>`.
Learn more about :ref:`Twig global variables <templating-global-variables>`.

number_format
~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion 2 reference/dic_tags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@ the service is auto-registered and auto-tagged. But, you can also register it ma

For information on how to create the actual Twig Extension class, see
`Twig's documentation`_ on the topic or read the
:doc:`/templating/twig_extension` article.
:ref:`templates-twig-extension` article.

twig.loader
-----------
Expand Down
2 changes: 1 addition & 1 deletion 2 reference/twig_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ components with Twig templates. This article explains them all.
.. tip::

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

.. _reference-twig-functions:
Expand Down
2 changes: 1 addition & 1 deletion 2 security/csrf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected forms. As an alternative, you can:
* Embed the form inside an uncached :doc:`ESI fragment </http_cache/esi>` and
cache the rest of the page contents;
* Cache the entire page and load the form via an uncached AJAX request;
* Cache the entire page and use :doc:`hinclude.js </templating/hinclude>` to
* Cache the entire page and use :ref:`hinclude.js <templates-hinclude>` to
load the CSRF token with an uncached AJAX request and replace the form
field value with it.

Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.