Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.14.x' into 2.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Oct 1, 2024
2 parents 901c2ee + 8437b23 commit 62410b5
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Documentation"

on:
pull_request:
branches:
- "*.x"
paths:
- ".github/workflows/documentation.yml"
- "docs/**"
push:
branches:
- "*.x"
paths:
- ".github/workflows/documentation.yml"
- "docs/**"

jobs:
documentation:
name: "Documentation"
uses: "doctrine/.github/.github/workflows/[email protected]"
9 changes: 3 additions & 6 deletions docs/en/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ We do not recommend using this library in new projects and encourage authors
of downstream libraries to offer support for attributes as an alternative to
Doctrine Annotations.

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

Introduction
Expand Down Expand Up @@ -66,7 +66,7 @@ looks like this:
The annotation class is declared as an annotation by ``@Annotation``.

:ref:`Read more about custom annotations. <custom>`
:doc:`Read more about custom annotations. <custom>`

Reading annotations
===================
Expand Down Expand Up @@ -95,7 +95,7 @@ annotations of a class. A common one is
A reader has multiple methods to access the annotations of a class or
function.

:ref:`Read more about handling annotations. <annotations>`
:doc:`Read more about handling annotations. <annotations>`

IDE Support
-----------
Expand All @@ -104,6 +104,3 @@ Some IDEs already provide support for annotations:

- Eclipse via the `Symfony2 Plugin <https://github.com/pulse00/Symfony-2-Eclipse-Plugin>`_
- 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>`_

.. _Read more about handling annotations.: annotations
.. _Read more about custom annotations.: custom
2 changes: 2 additions & 0 deletions docs/en/sidebar.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:orphan:

.. toctree::
:depth: 3

Expand Down

0 comments on commit 62410b5

Please sign in to comment.