Skip to content

Commit 0e17d00

Browse files
committed
bug #19298 Fix wrong reStructuredText references (wouterj)
This PR was merged into the 5.4 branch. Discussion ---------- Fix wrong reStructuredText references Found while testing the phpDocumentor rst parser. The Doctrine parser is much more forgiving about this wrong references than Sphinx and phpDocumentor are. Commits ------- e671f57 Fix wrong reStructuredText references
2 parents 28992c9 + e671f57 commit 0e17d00

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

components/serializer.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ data.
233233
Context
234234
-------
235235

236-
Many Serializer features can be configured :doc:`using a context </serializer#serializer-context>`.
236+
Many Serializer features can be configured :ref:`using a context <serializer_serializer-context>`.
237237

238238
.. _component-serializer-attributes-groups:
239239

configuration/multiple_kernels.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ requirements, so it's up to you to decide which best suits your project.
5353

5454
First, create a new ``apps`` directory at the root of your project, which will
5555
hold all the necessary applications. Each application will follow a simplified
56-
directory structure like the one described in :ref:`Symfony Best Practice </best_practices>`:
56+
directory structure like the one described in :doc:`Symfony Best Practice </best_practices>`:
5757

5858
.. code-block:: text
5959
@@ -321,7 +321,7 @@ Rendering Templates
321321
-------------------
322322

323323
Let's consider that you need to create another app called ``admin``. If you
324-
follow the :ref:`Symfony Best Practices </best_practices>`, the shared Kernel
324+
follow the :doc:`Symfony Best Practices </best_practices>`, the shared Kernel
325325
templates will be located in the ``templates/`` directory at the project's root.
326326
For admin-specific templates, you can create a new directory
327327
``apps/admin/templates/`` which you will need to manually configure under the

mailer.rst

+13-13
Original file line numberDiff line numberDiff line change
@@ -174,19 +174,19 @@ transport, but you can force to use one:
174174
This table shows the full list of available DSN formats for each third
175175
party provider:
176176

177-
===================== ==================================================== =========================================== ========================================
178-
Provider SMTP HTTP API
179-
===================== ==================================================== =========================================== ========================================
180-
`Amazon SES`_ ses+smtp://USERNAME:PASSWORD@default ses+https://ACCESS_KEY:SECRET_KEY@default ses+api://ACCESS_KEY:SECRET_KEY@default
181-
`Google Gmail`_ gmail+smtp://USERNAME:APP-PASSWORD@default n/a n/a
182-
`Mandrill`_ mandrill+smtp://USERNAME:PASSWORD@default mandrill+https://KEY@default mandrill+api://KEY@default
183-
`Mailgun`_ mailgun+smtp://USERNAME:PASSWORD@default mailgun+https://KEY:DOMAIN@default mailgun+api://KEY:DOMAIN@default
184-
`Mailjet`_ mailjet+smtp://ACCESS_KEY:SECRET_KEY@default n/a mailjet+api://ACCESS_KEY:SECRET_KEY@default
185-
`Postmark`_ postmark+smtp://ID@default n/a postmark+api://KEY@default
186-
`Sendgrid`_ sendgrid+smtp://KEY@default n/a sendgrid+api://KEY@default
187-
`Sendinblue`_ sendinblue+smtp://USERNAME:PASSWORD@default n/a sendinblue+api://KEY@default
188-
`OhMySMTP`_ ohmysmtp+smtp://API_TOKEN@default n/a ohmysmtp+api://API_TOKEN@default
189-
===================== ==================================================== =========================================== ========================================
177+
===================== ======================================================== =============================================== ============================================
178+
Provider SMTP HTTP API
179+
===================== ======================================================== =============================================== ============================================
180+
`Amazon SES`_ ``ses+smtp://USERNAME:PASSWORD@default`` ``ses+https://ACCESS_KEY:SECRET_KEY@default`` ``ses+api://ACCESS_KEY:SECRET_KEY@default``
181+
`Google Gmail`_ ``gmail+smtp://USERNAME:APP-PASSWORD@default`` n/a n/a
182+
`Mandrill`_ ``mandrill+smtp://USERNAME:PASSWORD@default`` ``mandrill+https://KEY@default`` ``mandrill+api://KEY@default``
183+
`Mailgun`_ ``mailgun+smtp://USERNAME:PASSWORD@default`` ``mailgun+https://KEY:DOMAIN@default`` ``mailgun+api://KEY:DOMAIN@default``
184+
`Mailjet`_ ``mailjet+smtp://ACCESS_KEY:SECRET_KEY@default`` n/a ``mailjet+api://ACCESS_KEY:SECRET_KEY@default``
185+
`Postmark`_ ``postmark+smtp://ID@default`` n/a ``postmark+api://KEY@default``
186+
`Sendgrid`_ ``sendgrid+smtp://KEY@default`` n/a ``sendgrid+api://KEY@default``
187+
`Sendinblue`_ ``sendinblue+smtp://USERNAME:PASSWORD@default`` n/a ``sendinblue+api://KEY@default``
188+
`OhMySMTP`_ ``ohmysmtp+smtp://API_TOKEN@default`` n/a ``ohmysmtp+api://API_TOKEN@default``
189+
===================== ======================================================== =============================================== ============================================
190190

191191
.. caution::
192192

mercure.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ that handles persistent SSE connections with the clients.
5353
The Symfony app publishes the updates to the hub, that will broadcast them to
5454
clients.
5555

56-
Thanks to :ref:`the Docker integration of Symfony </setup/docker>`,
56+
Thanks to :doc:`the Docker integration of Symfony </setup/docker>`,
5757
:ref:`Flex <symfony-flex>` proposes to install a Mercure hub.
5858
Run ``docker-compose up`` to start the hub if you have chosen this option.
5959

0 commit comments

Comments
 (0)