]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Documentation: driver-api: usb: Limit toctree depth
authorBagas Sanjaya <bagasdotme@gmail.com>
Wed, 20 Aug 2025 05:04:16 +0000 (12:04 +0700)
committerJonathan Corbet <corbet@lwn.net>
Thu, 21 Aug 2025 17:49:44 +0000 (11:49 -0600)
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.

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20250820050416.25219-1-bagasdotme@gmail.com
Documentation/driver-api/usb/index.rst

index cfa8797ea6144bcb5c0e9943a19a45e3aac87156..fcb24d0500d91d97b582ccbaa5206d1ffbd275e6 100644 (file)
@@ -3,6 +3,7 @@ Linux USB API
 =============
 
 .. toctree::
+   :maxdepth: 1
 
    usb
    gadget