diff --git a/samples/index.rst b/samples/index.rst index 0ba36eeaebb..8581a330d40 100644 --- a/samples/index.rst +++ b/samples/index.rst @@ -5,6 +5,7 @@ Samples and Demos .. toctree:: + :titlesonly: :maxdepth: 2 :glob: diff --git a/samples/modules/index.rst b/samples/modules/index.rst index 79828d002a2..5316bb6e244 100644 --- a/samples/modules/index.rst +++ b/samples/modules/index.rst @@ -4,7 +4,8 @@ External Module Samples ####################### .. toctree:: - :maxdepth: 2 + :titlesonly: + :maxdepth: 1 :glob: **/* diff --git a/samples/subsys/portability/portability.rst b/samples/subsys/portability/portability.rst index 1be238d794c..b47ee35edc9 100644 --- a/samples/subsys/portability/portability.rst +++ b/samples/subsys/portability/portability.rst @@ -4,7 +4,7 @@ Portability Samples ################### .. toctree:: - :maxdepth: 2 + :maxdepth: 1 :glob: **/* diff --git a/samples/subsys/subsys.rst b/samples/subsys/subsys.rst index 0ea09d7a7d3..bf58c7dda63 100644 --- a/samples/subsys/subsys.rst +++ b/samples/subsys/subsys.rst @@ -4,6 +4,7 @@ Various Subsystems Samples ########################## .. toctree:: + :titlesonly: :maxdepth: 2 :glob: