Skip to content

Commit 4ad72d0

Browse files
committed
minor symfony#4741 use the doc role for internal links (jms85, xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- use the doc role for internal links | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | symfony#4535 Commits ------- a654c9c use the doc role for internal links 7ffd5b9 Update standard link to remove absolute URL
2 parents 6763052 + a654c9c commit 4ad72d0

File tree

6 files changed

+8
-16
lines changed

6 files changed

+8
-16
lines changed

best_practices/business-logic.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,14 +326,13 @@ Coding Standards
326326

327327
The Symfony source code follows the `PSR-1`_ and `PSR-2`_ coding standards that
328328
were defined by the PHP community. You can learn more about
329-
`the Symfony Code Standards`_ and even use the `PHP-CS-Fixer`_, which is
330-
a command-line utility that can fix the coding standards of an entire codebase
331-
in a matter of seconds.
329+
:doc:`the Symfony Coding standards </contributing/code/standards>` and even
330+
use the `PHP-CS-Fixer`_, which is a command-line utility that can fix the
331+
coding standards of an entire codebase in a matter of seconds.
332332

333333
.. _`full definition`: http://en.wikipedia.org/wiki/Business_logic
334334
.. _`Doctrine project`: http://www.doctrine-project.org/
335335
.. _`fixture class`: http://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html#writing-simple-fixtures
336336
.. _`PSR-1`: http://www.php-fig.org/psr/psr-1/
337337
.. _`PSR-2`: http://www.php-fig.org/psr/psr-2/
338-
.. _`the Symfony Code Standards`: http://symfony.com/doc/current/contributing/code/standards.html
339338
.. _`PHP-CS-Fixer`: https://github.com/FriendsOfPHP/PHP-CS-Fixer

best_practices/security.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,5 @@ If your company uses a user login method not supported by Symfony, you can
267267
develop :doc:`your own user provider </cookbook/security/custom_provider>` and
268268
:doc:`your own authentication provider </cookbook/security/custom_authentication_provider>`.
269269

270-
.. _`Security Cookbook Section`: http://symfony.com/doc/current/cookbook/security/index.html
271-
.. _`security.yml`: http://symfony.com/doc/current/reference/configuration/security.html
272270
.. _`@Security annotation`: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security.html
273-
.. _`security voter`: http://symfony.com/doc/current/cookbook/security/voters_data_permission.html
274-
.. _`ACL's`: http://symfony.com/doc/current/cookbook/security/acl.html
275271
.. _`FOSUserBundle`: https://github.com/FriendsOfSymfony/FOSUserBundle

book/installation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,9 @@ number as the second argument of the ``new`` command:
9898
# Windows
9999
c:\projects\> php symfony.phar new my_project_name 2.3.23
100100
101-
Read the `Symfony Release process`_ to better understand why there are several
102-
Symfony versions and which one to use for your projects.
101+
Read the :doc:`Symfony Release process </contributing/community/releases>`
102+
to better understand why there are several Symfony versions and which one
103+
to use for your projects.
103104

104105
.. _book-creating-applications-without-the-installer:
105106

@@ -375,7 +376,6 @@ a wide variety of articles about solving specific problems with Symfony.
375376
If you want to remove the sample code from your distribution, take a look
376377
at this cookbook article: ":doc:`/cookbook/bundles/remove`"
377378

378-
.. _`Symfony Release process`: http://symfony.com/doc/current/contributing/community/releases.html
379379
.. _`explained in this post`: http://fabien.potencier.org/article/73/signing-project-releases
380380
.. _`Composer`: http://getcomposer.org/
381381
.. _`Composer download page`: https://getcomposer.org/download/

contributing/code/bugs.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ us make a better Symfony.
1111

1212
Before submitting a bug:
1313

14-
* Double-check the official `documentation`_ to see if you're not misusing the
14+
* Double-check the official :doc:`documentation </index>` to see if you're not misusing the
1515
framework;
1616

1717
* Ask for assistance on the `users mailing-list`_, the `forum`_, or on the
@@ -34,7 +34,6 @@ If your problem definitely looks like a bug, report it using the official bug
3434

3535
* *(optional)* Attach a :doc:`patch <patches>`.
3636

37-
.. _documentation: http://symfony.com/doc/current/
3837
.. _users mailing-list: http://groups.google.com/group/symfony2
3938
.. _forum: http://forum.symfony-project.org/
4039
.. _IRC channel: irc://irc.freenode.net/symfony

cookbook/workflow/new_project_git.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ manage this is `Gitolite`_.
9595

9696
.. _`Git`: http://git-scm.com/
9797
.. _`Symfony Standard Edition`: http://symfony.com/download
98-
.. _`Installing Symfony using Composer`: http://symfony.com/doc/current/book/installation.html#option-1-composer
9998
.. _`git submodules`: http://git-scm.com/book/en/Git-Tools-Submodules
10099
.. _`GitHub`: https://github.com/
101100
.. _`barebones repository`: http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository

quick_tour/the_big_picture.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ of the ``Default`` controller when the user browses the ``/`` path of the applic
237237
.. tip::
238238

239239
In addition to PHP annotations, routes can be configured in YAML, XML or
240-
PHP files, as explained in `the Routing chapter of the Symfony book`_ .
240+
PHP files, as explained in :doc:`the Routing chapter of the Symfony book </book/routing>`.
241241
This flexibility is one of the main features of Symfony, a framework that
242242
never imposes a particular configuration format on you.
243243

@@ -359,4 +359,3 @@ are eager to learn more about Symfony, dive into the next section:
359359
.. _Composer: https://getcomposer.org/
360360
.. _executable installer: http://getcomposer.org/download
361361
.. _Twig: http://twig.sensiolabs.org/
362-
.. _the Routing chapter of the Symfony book: http://symfony.com/doc/current/book/routing.html

0 commit comments

Comments
 (0)