Skip to content

Commit

Permalink
minor #4741 use the doc role for internal links (jms85, xabbuh)
Browse files Browse the repository at this point in the history
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 | #4535

Commits
-------

a654c9c use the doc role for internal links
7ffd5b9 Update standard link to remove absolute URL
  • Loading branch information
wouterj committed Jan 2, 2015
2 parents 6763052 + a654c9c commit 4ad72d0
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 16 deletions.
7 changes: 3 additions & 4 deletions best_practices/business-logic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -326,14 +326,13 @@ Coding Standards

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

.. _`full definition`: http://en.wikipedia.org/wiki/Business_logic
.. _`Doctrine project`: http://www.doctrine-project.org/
.. _`fixture class`: http://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html#writing-simple-fixtures
.. _`PSR-1`: http://www.php-fig.org/psr/psr-1/
.. _`PSR-2`: http://www.php-fig.org/psr/psr-2/
.. _`the Symfony Code Standards`: http://symfony.com/doc/current/contributing/code/standards.html
.. _`PHP-CS-Fixer`: https://github.com/FriendsOfPHP/PHP-CS-Fixer
4 changes: 0 additions & 4 deletions best_practices/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,5 @@ If your company uses a user login method not supported by Symfony, you can
develop :doc:`your own user provider </cookbook/security/custom_provider>` and
:doc:`your own authentication provider </cookbook/security/custom_authentication_provider>`.

.. _`Security Cookbook Section`: http://symfony.com/doc/current/cookbook/security/index.html
.. _`security.yml`: http://symfony.com/doc/current/reference/configuration/security.html
.. _`@Security annotation`: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security.html
.. _`security voter`: http://symfony.com/doc/current/cookbook/security/voters_data_permission.html
.. _`ACL's`: http://symfony.com/doc/current/cookbook/security/acl.html
.. _`FOSUserBundle`: https://github.com/FriendsOfSymfony/FOSUserBundle
6 changes: 3 additions & 3 deletions book/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ number as the second argument of the ``new`` command:
# Windows
c:\projects\> php symfony.phar new my_project_name 2.3.23
Read the `Symfony Release process`_ to better understand why there are several
Symfony versions and which one to use for your projects.
Read the :doc:`Symfony Release process </contributing/community/releases>`
to better understand why there are several Symfony versions and which one
to use for your projects.

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

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

.. _`Symfony Release process`: http://symfony.com/doc/current/contributing/community/releases.html
.. _`explained in this post`: http://fabien.potencier.org/article/73/signing-project-releases
.. _`Composer`: http://getcomposer.org/
.. _`Composer download page`: https://getcomposer.org/download/
Expand Down
3 changes: 1 addition & 2 deletions contributing/code/bugs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ us make a better Symfony.

Before submitting a bug:

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

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

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

.. _documentation: http://symfony.com/doc/current/
.. _users mailing-list: http://groups.google.com/group/symfony2
.. _forum: http://forum.symfony-project.org/
.. _IRC channel: irc://irc.freenode.net/symfony
Expand Down
1 change: 0 additions & 1 deletion cookbook/workflow/new_project_git.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ manage this is `Gitolite`_.

.. _`Git`: http://git-scm.com/
.. _`Symfony Standard Edition`: http://symfony.com/download
.. _`Installing Symfony using Composer`: http://symfony.com/doc/current/book/installation.html#option-1-composer
.. _`git submodules`: http://git-scm.com/book/en/Git-Tools-Submodules
.. _`GitHub`: https://github.com/
.. _`barebones repository`: http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository
Expand Down
3 changes: 1 addition & 2 deletions quick_tour/the_big_picture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ of the ``Default`` controller when the user browses the ``/`` path of the applic
.. tip::

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

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

0 comments on commit 4ad72d0

Please sign in to comment.