Skip to content

Commit d238c22

Browse files
committed
Enhancement: New rule - SpaceBetweenLabelAndLinkInDoc
1 parent 320a3a5 commit d238c22

File tree

9 files changed

+12
-11
lines changed

9 files changed

+12
-11
lines changed

.doctor-rst.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ rules:
2929
replace_code_block_types: ~
3030
replacement: ~
3131
short_array_syntax: ~
32+
space_between_label_and_link_in_doc: ~
3233
space_between_label_and_link_in_ref: ~
3334
typo: ~
3435
unused_links: ~

best_practices/security.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Authentication and Firewalls (i.e. Getting the User's Credentials)
66

77
You can configure Symfony to authenticate your users using any method you
88
want and to load user information from any source. This is a complex topic, but
9-
the :doc:`Security guide</security>` has a lot of information about
9+
the :doc:`Security guide </security>` has a lot of information about
1010
this.
1111

1212
Regardless of your needs, authentication is configured in ``security.yml``,

contributing/code_of_conduct/code_of_conduct.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Examples of unacceptable behavior by participants include:
3737
Our Responsibilities
3838
--------------------
3939

40-
:doc:`CoC Active Response Ensurers, or CARE</contributing/code_of_conduct/care_team>`,
40+
:doc:`CoC Active Response Ensurers, or CARE </contributing/code_of_conduct/care_team>`,
4141
are responsible for clarifying the standards of acceptable
4242
behavior and are expected to take appropriate and fair corrective action in
4343
response to any instances of unacceptable behavior.

contributing/map.rst.inc

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
* :doc:`Security </contributing/code/security>`
1616
* :doc:`Tests </contributing/code/tests>`
1717
* :doc:`Backward Compatibility </contributing/code/bc>`
18-
* :doc:`Coding Standards</contributing/code/standards>`
19-
* :doc:`Code Conventions</contributing/code/conventions>`
20-
* :doc:`Git</contributing/code/git>`
18+
* :doc:`Coding Standards </contributing/code/standards>`
19+
* :doc:`Code Conventions </contributing/code/conventions>`
20+
* :doc:`Git </contributing/code/git>`
2121
* :doc:`License </contributing/code/license>`
2222

2323
* **Documentation**

deployment/proxies.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ How to Configure Symfony to Work behind a Load Balancer or a Reverse Proxy
33

44
When you deploy your application, you may be behind a load balancer (e.g.
55
an AWS Elastic Load Balancing) or a reverse proxy (e.g. Varnish for
6-
:doc:`caching</http_cache>`).
6+
:doc:`caching </http_cache>`).
77

88
For the most part, this doesn't cause any problems with Symfony. But, when
99
a request passes through a proxy, certain request information is sent using

frontend/encore/simple-example.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ be executed. All the CSS files that were required will also be displayed.
121121
The ``encore_entry_link_tags()`` and ``encore_entry_script_tags()`` functions
122122
read from an ``entrypoints.json`` file that's generated by Encore to know the exact
123123
filename(s) to render. This file is *especially* useful because you can
124-
:doc:`enable versioning</frontend/encore/versioning>` or
125-
:doc:`point assets to a CDN</frontend/encore/cdn>` without making *any* changes to your
124+
:doc:`enable versioning </frontend/encore/versioning>` or
125+
:doc:`point assets to a CDN </frontend/encore/cdn>` without making *any* changes to your
126126
template: the paths in ``entrypoints.json`` will always be the final, correct paths.
127127

128128
If you're *not* using Symfony, you can ignore the ``entrypoints.json`` file and

reference/constraints/map.rst.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ String Constraints
2020
* :doc:`Url </reference/constraints/Url>`
2121
* :doc:`Regex </reference/constraints/Regex>`
2222
* :doc:`Ip </reference/constraints/Ip>`
23-
* :doc:`Uuid</reference/constraints/Uuid>`
23+
* :doc:`Uuid </reference/constraints/Uuid>`
2424
* :doc:`UserPassword </reference/constraints/UserPassword>`
2525

2626
Comparison Constraints

reference/forms/types/options/validation_groups.rst.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ the option. Symfony will then pass the form when calling it::
4949
.. note::
5050

5151
When your form contains multiple submit buttons, you can change the
52-
validation group depending on :doc:`which button is used</form/button_based_validation>`
52+
validation group depending on :doc:`which button is used </form/button_based_validation>`
5353
to submit the form.
5454

5555
If you need advanced logic to determine the validation groups have

reference/forms/types/submit.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A submit button.
1616
| | - `translation_domain`_ |
1717
| | - `validation_groups`_ |
1818
+----------------------+----------------------------------------------------------------------+
19-
| Parent type | :doc:`ButtonType</reference/forms/types/button>` |
19+
| Parent type | :doc:`ButtonType </reference/forms/types/button>` |
2020
+----------------------+----------------------------------------------------------------------+
2121
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\SubmitType` |
2222
+----------------------+----------------------------------------------------------------------+

0 commit comments

Comments
 (0)