Documentation/gpu: limit main toctree depth to 2

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 <[email protected]>
Tested-by: Randy Dunlap <[email protected]>
Reviewed-by: Randy Dunlap <[email protected]>
Link: https://patch.msgid.link/cddd2d11c104132801510e3ab4e4b9ef3ea9cb6d.1778238671.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <[email protected]>
This commit is contained in:
Jani Nikula committed 2026-05-13 11:07:12 +03:00
1 parent 99ef3a4f1c
commit 393aacfa4c
1 file changed
+1
+1
View File
@@ -3,6 +3,7 @@ GPU Driver Developer's Guide
============================
.. toctree::
:maxdepth: 2
introduction
drm-internals