From 32c0367dd2fc926161dcf24209bd64101d62af2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Wed, 2 Oct 2024 08:34:14 +0200 Subject: [PATCH] Use captions over custom directives Now that we use phpDocumentor/guides and https://github.com/doctrine/orm/pull/11576 is merged, we can try using captions instead of custom directives. --- docs/en/sidebar.rst | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/docs/en/sidebar.rst b/docs/en/sidebar.rst index 353be759..10de4d0d 100644 --- a/docs/en/sidebar.rst +++ b/docs/en/sidebar.rst @@ -1,19 +1,13 @@ -.. toc:: +.. toctree:: + :caption: How-to guides + :depth: 3 - .. tocheader:: How-to guides + how-to/loading-fixtures + how-to/sharing-objects-between-fixtures + how-to/fixture-ordering - .. toctree:: - :depth: 3 +.. toctree:: + :caption: Explanations + :depth: 3 - how-to/loading-fixtures - how-to/sharing-objects-between-fixtures - how-to/fixture-ordering - -.. toc:: - - .. tocheader:: Explanations - - .. toctree:: - :depth: 3 - - explanation/transactions-and-purging + explanation/transactions-and-purging