[libcamera-devel,5/8] Documentation: Set the index TOC max depth to 1

Message ID 20191021102453.26471-5-laurent.pinchart@ideasonboard.com
State Accepted
Commit 0cca041cbd8d5e0fe56f5d08676c6e25e3ae99d5
Headers show
Series
  • [libcamera-devel,1/8] Documentation: Move coding style under contributing
Related show

Commit Message

Laurent Pinchart Oct. 21, 2019, 10:24 a.m. UTC
We don't need more than one level in the main TOC tree, set the max
depth to 1.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 Documentation/index.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kieran Bingham Oct. 21, 2019, 11:04 a.m. UTC | #1
On 21/10/2019 11:24, Laurent Pinchart wrote:
> We don't need more than one level in the main TOC tree, set the max
> depth to 1.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>


> ---
>  Documentation/index.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/index.rst b/Documentation/index.rst
> index bbce717edd0e..28267cec36b7 100644
> --- a/Documentation/index.rst
> +++ b/Documentation/index.rst
> @@ -2,7 +2,7 @@
>  .. include:: ../README.rst
>  
>  .. toctree::
> -   :maxdepth: 2
> +   :maxdepth: 1
>     :caption: Contents:
>  
>     Home <self>
>

Patch

diff --git a/Documentation/index.rst b/Documentation/index.rst
index bbce717edd0e..28267cec36b7 100644
--- a/Documentation/index.rst
+++ b/Documentation/index.rst
@@ -2,7 +2,7 @@ 
 .. include:: ../README.rst
 
 .. toctree::
-   :maxdepth: 2
+   :maxdepth: 1
    :caption: Contents:
 
    Home <self>