diff --git a/configuration.rst b/configuration.rst index 6d2638008fa..d1ae76084a1 100644 --- a/configuration.rst +++ b/configuration.rst @@ -52,6 +52,8 @@ to change these files after package installation :doc:`Symfony Configuration Reference ` or run the ``config:dump-reference`` command. +.. _configuration-formats: + Configuration Formats ~~~~~~~~~~~~~~~~~~~~~ diff --git a/routing.rst b/routing.rst index 1d72af7bbe5..25ee1c2abe6 100644 --- a/routing.rst +++ b/routing.rst @@ -183,11 +183,11 @@ the ``BlogController``: ; }; -.. versionadded:: 5.1 +.. note:: - Starting from Symfony 5.1, by default Symfony only loads the routes defined - in YAML format. If you define routes in XML and/or PHP formats, update the - ``src/Kernel.php`` file to add support for the ``.xml`` and ``.php`` file extensions. + By default Symfony only loads the routes defined in YAML format. If you + define routes in XML and/or PHP formats, you need to + :ref:`update the ``src/Kernel.php`` file `. .. _routing-matching-http-methods: