Skip to contentSkip to conversation

Documentation: driver-api: usb: Limit toctree depth

PATCH In review Bagas Sanjaya 2 participants 2 messages Aug 20, 2025 – Aug 21, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: driver-api: usb: Limit toctree depth

toctree index in USB driver api docs currently spoils the entire docs headings due to lack of :maxdepth: option. Add the option to limit toctree depth to 1, mirroring usb subsystem docs in Documentation/usb/index.rst.

---
 Documentation/driver-api/usb/index.rst | 1 +
 1 file changed, 1 insertion(+)
Documentation/driver-api/usb/index.rst +1 -0
index cfa8797ea6144b..fcb24d0500d91d 100644
@@ -3,6 +3,7 @@ Linux USB API
 =============
 
 .. toctree::
+   :maxdepth: 1
 
    usb
    gadget

base-commit: 37c52167b007d9d0bb8c5ed53dd6efc4969a1356

Signature · 1 line
An old man doll... just what I always wanted! - Clara
maintainer
#1 lore raw
Quoted 15 lines · Bagas Sanjaya

toctree index in USB driver api docs currently spoils the entire docs headings due to lack of :maxdepth: option. Add the option to limit toctree depth to 1, mirroring usb subsystem docs in Documentation/usb/index.rst.

---
 Documentation/driver-api/usb/index.rst | 1 +
 1 file changed, 1 insertion(+)
Documentation/driver-api/usb/index.rst +0 -0
index cfa8797ea6144b..fcb24d0500d91d 100644

Documentation/driver-api/usb/index.rst Linux USB API · line 7

Quoted 5 lines
Documentation/driver-api/usb/index.rst +1 -0
@@ -3,6 +3,7 @@ Linux USB API
 =============
 
 .. toctree::
+   :maxdepth: 1
 

It's still kind of a mess, but that does make it better. Applied, thanks.

jon