Skip to content

Commit a983023

Browse files
committed
Fixed all references
1 parent a365f71 commit a983023

File tree

8 files changed

+19
-19
lines changed

8 files changed

+19
-19
lines changed

best_practices/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ layer of configuration that's not needed because you don't need or want these
8383
configuration values to change on each server.
8484

8585
The configuration options defined in the ``services.yaml`` may vary from one
86-
:doc:`environment </configuration/environments>` to another. That's why Symfony
86+
:ref:`environment <configuration-environments>` to another. That's why Symfony
8787
supports defining ``config/services_dev.yaml`` and ``config/services_prod.yaml``
8888
files so that you can override specific values for each environment.
8989

bundles.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SecurityBundle, DebugBundle, etc.) They are also used to add new features in
1818
your application via `third-party bundles`_.
1919

2020
Bundles used in your applications must be enabled per
21-
:doc:`environment </configuration/environments>` in the ``config/bundles.php``
21+
:ref:`environment <configuration-environments>` in the ``config/bundles.php``
2222
file::
2323

2424
// config/bundles.php

configuration.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ directory, which has this default structure:
1919
2020
The ``routes.yaml`` file defines the :doc:`routing configuration </routing>`;
2121
the ``services.yaml`` file configures the services of the
22-
:ref:`service container </service_container>`; the ``bundles.php`` file enables/
22+
:doc:`service container </service_container>`; the ``bundles.php`` file enables/
2323
disables packages in your application and it's managed automatically by
24-
:ref:`Symfony Flex </setup/flex>`.
24+
:doc:`Symfony Flex </setup/flex>`.
2525

2626
The most important element inside ``config/`` is the ``packages/`` directory,
2727
which stores the configuration of every package installed in your application.
@@ -45,7 +45,7 @@ to change these files after package installation
4545
.. tip::
4646

4747
To learn about all the available configuration options, check out the
48-
:ref:`Symfony Configuration Reference </reference/index>` or run the
48+
:doc:`Symfony Configuration Reference </reference/index>` or run the
4949
``config:dump-reference`` command.
5050

5151
Configuration Formats
@@ -511,7 +511,7 @@ Configuring Environment Variables in Production
511511
In production, the ``.env`` files are also parsed and loaded on each request so
512512
you can override the env vars already defined in the server. In order to improve
513513
performance, you can run the ``dump-env`` command (available when using
514-
:ref:`Symfony Flex </setup/flex>` 1.2 or later).
514+
:doc:`Symfony Flex </setup/flex>` 1.2 or later).
515515

516516
This command parses all the ``.env`` files once and compiles their contents into
517517
a new PHP-optimized file called ``.env.local.php``. From that moment, Symfony

configuration/front_controllers_and_kernel.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
Understanding how the Front Controller, Kernel and Environments Work together
66
=============================================================================
77

8-
The section :doc:`/configuration/environments` explained the basics on how
9-
Symfony uses environments to run your application with different configuration
10-
settings. This section will explain a bit more in-depth what happens when your
11-
application is bootstrapped. To hook into this process, you need to understand
12-
three parts that work together:
8+
The :ref:`configuration environments <configuration-environments>` section
9+
explained the basics on how Symfony uses environments to run your application
10+
with different configuration settings. This section will explain a bit more
11+
in-depth what happens when your application is bootstrapped. To hook into this
12+
process, you need to understand three parts that work together:
1313

1414
* `The Front Controller`_
1515
* `The Kernel Class`_
@@ -204,9 +204,9 @@ As mentioned above, the ``Kernel`` has to implement another method -
204204
This method is responsible for loading the application's configuration from the
205205
right *environment*.
206206

207-
Environments have been covered extensively :doc:`in the previous article
208-
</configuration/environments>`, and you probably remember that the Symfony uses
209-
by default three of them - ``dev``, ``prod`` and ``test``.
207+
:ref:`Configuration environments <configuration-environments>` allow to execute
208+
the same code using different configuration. Symfony provides three environments
209+
by default called ``dev``, ``prod`` and ``test``.
210210

211211
More technically, these names are nothing more than strings passed from the
212212
front controller to the ``Kernel``'s constructor. This name can then be used in

configuration/multiple_kernels.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ request to generate the response.
1616

1717
This single kernel approach is a convenient default, but Symfony applications
1818
can define any number of kernels. Whereas
19-
:doc:`environments </configuration/environments>` execute the same application
19+
:ref:`environments <configuration-environments>` execute the same application
2020
with different configurations, kernels can execute different parts of the same
2121
application.
2222

controller/error_pages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ customize error pages, so run this command to make sure the bundle is installed:
1717
1818
$ composer require twig
1919
20-
In the :doc:`development environment </configuration/environments>`,
20+
In the :ref:`development environment <configuration-environments>`,
2121
Symfony catches all the exceptions and displays a special **exception page**
2222
with lots of debug information to help you discover the root problem:
2323

reference/configuration/kernel.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Cache Directory
109109

110110
This returns the absolute path of the cache directory of your Symfony project.
111111
It's calculated automatically based on the current
112-
:doc:`environment </configuration/environments>`.
112+
:ref:`environment <configuration-environments>`.
113113

114114
This value is exposed via the ``kernel.cache_dir`` configuration parameter and
115115
the :method:`Symfony\\Component\\HttpKernel\\Kernel::getCacheDir` method. To
@@ -123,7 +123,7 @@ Log Directory
123123

124124
This returns the absolute path of the log directory of your Symfony project.
125125
It's calculated automatically based on the current
126-
:doc:`environment </configuration/environments>`.
126+
:ref:`environment <configuration-environments>`.
127127

128128
This value is exposed via the ``kernel.log_dir`` configuration parameter and
129129
the :method:`Symfony\\Component\\HttpKernel\\Kernel::getLogDir` method. To

setup/upgrade_major.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ using these deprecated features in the last version before the major (e.g.
3737

3838
To help you with this, deprecation notices are triggered whenever you end up
3939
using a deprecated feature. When visiting your application in the
40-
:doc:`dev environment </configuration/environments>`
40+
:ref:`dev environment <configuration-environments>`
4141
in your browser, these notices are shown in the web dev toolbar:
4242

4343
.. image:: /_images/install/deprecations-in-profiler.png

0 commit comments

Comments
 (0)