Skip to content

Commit 5aaba1e

Browse files
committed
minor #4529 Best Practices: Update link title to match cookbook article title (dangarzon)
This PR was squashed before being merged into the 2.3 branch (closes #4529). Discussion ---------- Best Practices: Update link title to match cookbook article title | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | Article title updated in c9fe05b Commits ------- 23db11a Best Practices: Update link title to match cookbook article title
2 parents ab8e7f5 + 23db11a commit 5aaba1e

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

Diff for: best_practices/configuration.rst

+8-11
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ add an extra layer of configuration that's not needed because you don't need
7474
or want these configuration values to change on each server.
7575

7676
The configuration options defined in the ``config.yml`` file usually vary from
77-
one `execution environment`_ to another. That's why Symfony already includes
78-
``app/config/config_dev.yml`` and ``app/config/config_prod.yml`` files so
79-
that you can override specific values for each environment.
77+
one :doc:`/cookbook/configuration/environments` to another. That's why Symfony
78+
already includes ``app/config/config_dev.yml`` and ``app/config/config_prod.yml``
79+
files so that you can override specific values for each environment.
8080

8181
Constants vs Configuration Options
8282
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -158,10 +158,10 @@ Semantic Configuration: Don't Do It
158158

159159
Don't define a semantic dependency injection configuration for your bundles.
160160

161-
As explained in `How to Expose a semantic Configuration for a Bundle`_ article,
162-
Symfony bundles have two choices on how to handle configuration: normal service
163-
configuration through the ``services.yml`` file and semantic configuration
164-
through a special ``*Extension`` class.
161+
As explained in :doc:`/cookbook/bundles/extension` article, Symfony bundles
162+
have two choices on how to handle configuration: normal service configuration
163+
through the ``services.yml`` file and semantic configuration through a special
164+
``*Extension`` class.
165165

166166
Although semantic configuration is much more powerful and provides nice features
167167
such as configuration validation, the amount of work needed to define that
@@ -174,10 +174,7 @@ Moving Sensitive Options Outside of Symfony Entirely
174174
When dealing with sensitive options, like database credentials, we also recommend
175175
that you store them outside the Symfony project and make them available
176176
through environment variables. Learn how to do it in the following article:
177-
`How to Set external Parameters in the Service Container`_
177+
:doc:`/cookbook/configuration/external_parameters`
178178

179179
.. _`feature toggles`: http://en.wikipedia.org/wiki/Feature_toggle
180-
.. _`execution environment`: http://symfony.com/doc/current/cookbook/configuration/environments.html
181180
.. _`constant() function`: http://twig.sensiolabs.org/doc/functions/constant.html
182-
.. _`How to Expose a semantic Configuration for a Bundle`: http://symfony.com/doc/current/cookbook/bundles/extension.html
183-
.. _`How to Set external Parameters in the Service Container`: http://symfony.com/doc/current/cookbook/configuration/external_parameters.html

0 commit comments

Comments
 (0)