Re: [PATCH] Documentation: gpu: Limit toctree depth

From: Randy Dunlap

Date: Mon Nov 03 2025 - 00:52:39 EST




On 10/30/25 7:35 PM, Bagas Sanjaya wrote:
> Currently, gpu docs toctree lists all headings across the documentation.
> Don't spoil these details by limiting the toctree depth to 2.
>
> Signed-off-by: Bagas Sanjaya <bagasdotme@xxxxxxxxx>

Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Thanks.

> ---
> Documentation/gpu/index.rst | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/gpu/index.rst b/Documentation/gpu/index.rst
> index 7dcb15850afdb2..e6207b31f8dbd9 100644
> --- a/Documentation/gpu/index.rst
> +++ b/Documentation/gpu/index.rst
> @@ -3,6 +3,7 @@ GPU Driver Developer's Guide
> ============================
>
> .. toctree::
> + :maxdepth: 2
>
> introduction
> drm-internals
>
> base-commit: 6fb7f298883246e21f60f971065adcb789ae6eba

--
~Randy