From 25d5bc5b4695072692e5dc045d51ba5e1a34457c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Fri, 27 Sep 2024 19:32:00 +0200 Subject: [PATCH] Move orphan metadata to where it belongs The goal here was to retain compatibility with doctrine/rst-parser, which is no longer in use in the website. --- .github/workflows/documentation.yml | 5 ----- docs/en/reference/installation.rst | 2 ++ docs/en/sidebar.rst | 2 ++ 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 65cbad613b2..96caa7eba00 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -40,10 +40,5 @@ jobs: with: dependency-versions: "highest" - - 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 )" diff --git a/docs/en/reference/installation.rst b/docs/en/reference/installation.rst index dab1364f777..2c0d5823009 100644 --- a/docs/en/reference/installation.rst +++ b/docs/en/reference/installation.rst @@ -1,3 +1,5 @@ +:orphan: + Installation ============ diff --git a/docs/en/sidebar.rst b/docs/en/sidebar.rst index df3032d65f2..f67304e8457 100644 --- a/docs/en/sidebar.rst +++ b/docs/en/sidebar.rst @@ -1,3 +1,5 @@ +:orphan: + .. toc:: .. tocheader:: Tutorials