]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Documentation/gpu: limit main toctree depth to 2
authorJani Nikula <jani.nikula@intel.com>
Fri, 8 May 2026 11:12:07 +0000 (14:12 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 13 May 2026 08:07:12 +0000 (11:07 +0300)
The main GPU documentation toctree has no limit to the toctree depth,
which means the main GPU index page recursively includes all the
headings in all of GPU documentation in the single table of
contents. This makes getting any kind of overview of the documentation
really difficult.

Limit the main toctree depth to 2 i.e. show at most two levels of
headings.

Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://patch.msgid.link/cddd2d11c104132801510e3ab4e4b9ef3ea9cb6d.1778238671.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Documentation/gpu/index.rst

index 5d708a106b3faca5da10277dc9665ff5e5f3f42b..65bf3b26e4f4c58df839732e16326bb19f34363e 100644 (file)
@@ -3,6 +3,7 @@ GPU Driver Developer's Guide
 ============================
 
 .. toctree::
+   :maxdepth: 2
 
    introduction
    drm-internals