From b395b4510390eacd03f1d445f8b9bbddd4cbe151 Mon Sep 17 00:00:00 2001 From: Dennis Akpenyi Date: Tue, 24 Nov 2020 15:26:43 +0100 Subject: [PATCH 1/2] Hide ToC from the Apache Airflow doc main page Hide the ToC from being displayed when the the index.rst file in the Apache Airflow docs is rendered. This will improve user experience and prevent repetition of what has already been displayed on the sidebar. --- docs/index.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 6a268b6084461..04bd0922226a1 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -69,10 +69,8 @@ similar from a run to the next, this allows for clarity around unit of work and continuity. -Content -------- .. toctree:: - :maxdepth: 1 + :hidden: project license @@ -105,7 +103,7 @@ Content privacy_notice .. toctree:: - :maxdepth: 1 + :hidden: :caption: References Operators and hooks From 2bc602c1022791f072b122238bf9396590d6a4ed Mon Sep 17 00:00:00 2001 From: Ash Berlin-Taylor Date: Tue, 24 Nov 2020 16:13:05 +0000 Subject: [PATCH 2/2] Update docs/index.rst Co-authored-by: Kaxil Naik --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index 04bd0922226a1..3b09fa2fddf79 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -70,7 +70,7 @@ unit of work and continuity. .. toctree:: - :hidden: + :hidden: project license