Skip to content

Commit d362afb

Browse files
committed
Update DOCtor-RST to 1.71.7 and move link definition
Move the Symfony Documentation link definition from the example code block to the bottom of the page where all other link definitions are located, following RST best practices.
1 parent 8902024 commit d362afb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
key: ${{ runner.os }}-doctor-rst-${{ steps.extract_base_branch.outputs.branch }}
7373

7474
- name: "Run DOCtor-RST"
75-
uses: docker://oskarstark/doctor-rst:1.71.6
75+
uses: docker://oskarstark/doctor-rst:1.71.7
7676
with:
7777
args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache
7878

contributing/documentation/standards.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ Example
4545
4646
echo 'You cannot use the :: shortcut here';
4747
48-
.. _`Symfony Documentation`: https://symfony.com/doc
49-
5048
Code Examples
5149
-------------
5250

@@ -224,6 +222,7 @@ In addition, documentation follows these rules:
224222
* **Contractions** are allowed: e.g. you can write ``you would`` as well as ``you'd``,
225223
``it is`` as well as ``it's``, etc.
226224

225+
.. _`Symfony Documentation`: https://symfony.com/doc
227226
.. _`Twig Coding Standards`: https://twig.symfony.com/doc/3.x/coding_standards.html
228227
.. _`reserved by the IANA`: https://tools.ietf.org/html/rfc2606#section-3
229228
.. _`American English`: https://en.wikipedia.org/wiki/American_English

0 commit comments

Comments
 (0)