doc: add caption to main toctree

toctree captions appear on the navigation tree. They are specially
useful if documentation is split amongst multiple toctrees.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2021-03-12 14:35:28 +01:00 committed by Carles Cufí
parent a6d8c232e0
commit 89aa9c83cb

View file

@ -106,6 +106,7 @@ licensing, as described in :ref:`Zephyr_Licensing`.
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1
:caption: Contents
Documentation Home <self> Documentation Home <self>
introduction/index.rst introduction/index.rst