Skip to content

Commit

Permalink
Move annotations-reference to attributes-reference (doctrine#2651)
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN authored Jun 21, 2024
1 parent e9b3b0f commit 8654054
Show file tree
Hide file tree
Showing 5 changed files with 1,372 additions and 1,318 deletions.
1 change: 1 addition & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- name: "Add orphan metadata where needed"
run: |
printf '%s\n\n%s\n' ":orphan:" "$(cat docs/en/sidebar.rst)" > docs/en/sidebar.rst
printf '%s\n\n%s\n' ":orphan:" "$(cat docs/en/reference/annotations-reference.rst)" > docs/en/reference/annotations-reference.rst
- name: "Run guides-cli"
run: "docs/vendor/bin/guides -vvv --no-progress docs/en 2>&1 | grep -v 'No template found for rendering directive' | ( ! grep WARNING )"
4 changes: 2 additions & 2 deletions docs/en/cookbook/validation-of-documents.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ insertions and updates through a schema associated to the collection
(cf. `MongoDB documentation <https://docs.mongodb.com/manual/core/schema-validation/>`_).

Doctrine MongoDB ODM provides a way to take advantage of this functionality
thanks to the :doc:`#[Validation] <../reference/annotations-reference#validation>`
thanks to the :doc:`#[Validation] <../reference/attributes-reference#validation>`
attribute and its properties (also available with XML mapping):

-
Expand Down Expand Up @@ -251,5 +251,5 @@ the ``odm:schema:create`` or ``odm:schema:update`` command.
</document>
</doctrine-mongo-mapping>
Please refer to the :doc:`#[Validation] <../reference/annotations-reference#document>` attributes reference
Please refer to the :doc:`#[Validation] <../reference/attributes-reference#document>` attributes reference
for more details on how to use this feature.
Loading

0 comments on commit 8654054

Please sign in to comment.