[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87jz2w7ecl.fsf@trenco.lwn.net>
Date: Thu, 21 Aug 2025 11:51:22 -0600
From: Jonathan Corbet <corbet@....net>
To: Bagas Sanjaya <bagasdotme@...il.com>, Linux Kernel Mailing List
<linux-kernel@...r.kernel.org>, Linux Documentation
<linux-doc@...r.kernel.org>, Linux USB <linux-usb@...r.kernel.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Mauro Carvalho Chehab
<mchehab+huawei@...nel.org>, Bagas Sanjaya <bagasdotme@...il.com>
Subject: Re: [PATCH] Documentation: driver-api: usb: Limit toctree depth
Bagas Sanjaya <bagasdotme@...il.com> writes:
> 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@...il.com>
> ---
> Documentation/driver-api/usb/index.rst | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/driver-api/usb/index.rst b/Documentation/driver-api/usb/index.rst
> index cfa8797ea6144b..fcb24d0500d91d 100644
> --- a/Documentation/driver-api/usb/index.rst
> +++ b/Documentation/driver-api/usb/index.rst
> @@ -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
Powered by blists - more mailing lists