Skip to content

Commit

Permalink
Move orphan metadata to where it belongs
Browse files Browse the repository at this point in the history
The goal here was to retain compatibility with doctrine/rst-parser,
which is no longer in use in the website.
  • Loading branch information
greg0ire committed Sep 27, 2024
1 parent 9b5c9dd commit c5467aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,5 @@ jobs:
coverage: "none"
php-version: "8.3"

- 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/installation.rst)" > docs/en/reference/installation.rst
- name: "Run guides-cli"
run: "vendor/bin/guides -vvv --no-progress docs/en 2>&1 | grep -v 'No template found for rendering directive' | ( ! grep WARNING )"
2 changes: 2 additions & 0 deletions docs/en/reference/installation.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:orphan:

Installation
============

Expand Down
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:

.. toc::

.. tocheader:: Tutorials
Expand Down

0 comments on commit c5467aa

Please sign in to comment.