[PATCH] Documentation: gpu: Limit toctree depth

Bagas Sanjaya posted 1 patch 3 months, 1 week ago
Documentation/gpu/index.rst | 1 +
1 file changed, 1 insertion(+)
[PATCH] Documentation: gpu: Limit toctree depth
Posted by Bagas Sanjaya 3 months, 1 week ago
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@gmail.com>
---
 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
-- 
An old man doll... just what I always wanted! - Clara
Re: [PATCH] Documentation: gpu: Limit toctree depth
Posted by Randy Dunlap 3 months ago

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@gmail.com>

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>

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