diff --git a/Documentation/index.rst b/Documentation/index.rst index c0cf79a87c3a..a9eba8187de6 100644 --- a/Documentation/index.rst +++ b/Documentation/index.rst @@ -21,6 +21,7 @@ community and getting your work upstream. .. toctree:: :maxdepth: 1 + :caption: Working with the development community Development process Submitting patches @@ -37,6 +38,7 @@ kernel. .. toctree:: :maxdepth: 1 + :caption: Internal API manuals Core API Driver APIs @@ -50,6 +52,7 @@ Various other manuals with useful information for all kernel developers. .. toctree:: :maxdepth: 1 + :caption: Development tools and processes Licensing rules Writing documentation @@ -71,6 +74,7 @@ developers seeking information on the kernel's user-space APIs. .. toctree:: :maxdepth: 1 + :caption: User-oriented documentation Administration Build system @@ -88,6 +92,7 @@ platform firmware. .. toctree:: :maxdepth: 1 + :caption: Firmware-related documentation Firmware Firmware and Devicetree @@ -98,6 +103,7 @@ Architecture-specific documentation .. toctree:: :maxdepth: 2 + :caption: Architecture-specific documentation CPU architectures @@ -111,6 +117,7 @@ to reStructuredText format, or are simply too old. .. toctree:: :maxdepth: 1 + :caption: Other documentation Unsorted documentation @@ -120,6 +127,7 @@ Translations .. toctree:: :maxdepth: 2 + :caption: Translations Translations diff --git a/Documentation/sphinx-static/custom.css b/Documentation/sphinx-static/custom.css index be33d9ed1280..9b08be290014 100644 --- a/Documentation/sphinx-static/custom.css +++ b/Documentation/sphinx-static/custom.css @@ -77,6 +77,12 @@ div.kerneltoc li.current ul { margin-left: 0; } div.kerneltoc { background-color: #eeeeee; } div.kerneltoc li.current ul { background-color: white; } +/* + * Hide toctree captions on the welcome page, they should only be shown in the + * sidebar. + */ +section#the-linux-kernel-documentation p.caption { display: none; } + /* * The CSS magic to toggle the contents on small screens. */