Skip to content

Commit cdcc904

Browse files
committed
Hide redundant table of contents from docs homepage
Currently the ToC appears twice on the docs home page `https://cheroot.cherrypy.dev/en/latest/`: both in the left hand selection panel and in the main contents next to it. This commit removes the duplicated content in the main panel.
1 parent 4bb134f commit cdcc904

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Removed the redundant table of contents from the documentation home page.
2+
3+
Previously the table of contents appeared twice on the :doc:`docs home page
4+
<index>`: both in the left hand
5+
selection panel and in the main contents next to it.
6+
7+
-- by :user:`julianz-`

docs/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,25 @@ Welcome to Cheroot documentation!
66
.. toctree::
77
:maxdepth: 1
88
:glob:
9+
:hidden:
910

1011
history
1112

1213
.. toctree::
1314
:caption: Contributing
15+
:hidden:
1416

1517
contributing/guidelines
1618

1719
.. toctree::
1820
:caption: Maintenance
21+
:hidden:
1922

2023
contributing/release_guide
2124

2225
.. toctree::
2326
:caption: Reference
27+
:hidden:
2428

2529
devguide
2630
Private (dev) API autodoc <pkg/modules>

0 commit comments

Comments
 (0)