Skip to content

Commit 9d7d63b

Browse files
authored
Merge pull request #501 from greg0ire/doc-fixes
Doc fixes
2 parents 253dca4 + ae91124 commit 9d7d63b

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

docs/en/index.rst

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ We do not recommend using this library in new projects and encourage authors
1111
of downstream libraries to offer support for attributes as an alternative to
1212
Doctrine Annotations.
1313

14-
Have a look at [our blog](https://www.doctrine-project.org/2022/11/04/annotations-to-attributes.html)
14+
Have a look at `our blog <https://www.doctrine-project.org/2022/11/04/annotations-to-attributes.html>`_
1515
to learn more.
1616

1717
Introduction
@@ -66,7 +66,7 @@ looks like this:
6666
6767
The annotation class is declared as an annotation by ``@Annotation``.
6868

69-
:ref:`Read more about custom annotations. <custom>`
69+
:doc:`Read more about custom annotations. <custom>`
7070

7171
Reading annotations
7272
===================
@@ -98,12 +98,12 @@ annotations of a class. A common one is
9898
9999
Note that ``AnnotationRegistry::registerLoader('class_exists')`` only works
100100
if you already have an autoloader configured (i.e. composer autoloader).
101-
Otherwise, :ref:`please take a look to the other annotation autoload mechanisms <annotations>`.
101+
Otherwise, :doc:`please take a look to the other annotation autoload mechanisms <annotations>`.
102102

103103
A reader has multiple methods to access the annotations of a class or
104104
function.
105105

106-
:ref:`Read more about handling annotations. <annotations>`
106+
:doc:`Read more about handling annotations. <annotations>`
107107

108108
IDE Support
109109
-----------
@@ -112,6 +112,3 @@ Some IDEs already provide support for annotations:
112112

113113
- Eclipse via the `Symfony2 Plugin <https://github.com/pulse00/Symfony-2-Eclipse-Plugin>`_
114114
- PhpStorm via the `PHP Annotations Plugin <https://plugins.jetbrains.com/plugin/7320-php-annotations>`_ or the `Symfony Plugin <https://plugins.jetbrains.com/plugin/7219-symfony-support>`_
115-
116-
.. _Read more about handling annotations.: annotations
117-
.. _Read more about custom annotations.: custom

docs/en/sidebar.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
.. toctree::
24
:depth: 3
35

0 commit comments

Comments
 (0)