doc: samples: Fix incorrect maxdepth for some toctrees

The table of contents for the samples' catalog was showing too many
levels for some sections.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
Benjamin Cabé 2023-09-21 15:40:44 +02:00 committed by Carles Cufí
parent 7a6f251edb
commit 2479af21f6
4 changed files with 5 additions and 2 deletions

View file

@ -5,6 +5,7 @@ Samples and Demos
.. toctree::
:titlesonly:
:maxdepth: 2
:glob:

View file

@ -4,7 +4,8 @@ External Module Samples
#######################
.. toctree::
:maxdepth: 2
:titlesonly:
:maxdepth: 1
:glob:
**/*

View file

@ -4,7 +4,7 @@ Portability Samples
###################
.. toctree::
:maxdepth: 2
:maxdepth: 1
:glob:
**/*

View file

@ -4,6 +4,7 @@ Various Subsystems Samples
##########################
.. toctree::
:titlesonly:
:maxdepth: 2
:glob: