Skip to content

Commit 27bd3bb

Browse files
committed
Revamped the main configuration file
1 parent f964e89 commit 27bd3bb

16 files changed

+646
-930
lines changed

_build/redirection_map

+4
Original file line numberDiff line numberDiff line change
@@ -417,3 +417,7 @@
417417
/workflow/state-machines /workflow/introduction
418418
/workflow/usage /workflow
419419
/introduction/from_flat_php_to_symfony2 /introduction/from_flat_php_to_symfony
420+
/configuration/environment_variables /configuration/env_var_processors
421+
/configuration/configuration_organization /configuration
422+
/configuration/environments /configuration
423+
/configuration/configuration_organization /configuration

best_practices/configuration.rst

+3-4
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ application behavior.
1616
.. best-practice::
1717

1818
Define the infrastructure-related configuration options as
19-
:doc:`environment variables </configuration/environment_variables>`. During
20-
development, use the ``.env`` and ``.env.local`` files at the root of your
21-
project to set these.
19+
:ref:`environment variables <config-env-vars>`. During development, use the
20+
``.env`` and ``.env.local`` files at the root of your project to set these.
2221

2322
By default, Symfony adds these types of options to the ``.env`` file when
2423
installing new dependencies in the app:
@@ -84,7 +83,7 @@ layer of configuration that's not needed because you don't need or want these
8483
configuration values to change on each server.
8584

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

bundles.rst

+1-1
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

0 commit comments

Comments
 (0)