Use this tag for questions about the toctree Sphinx directive. This directive is used to interconnect documentation files, other toctrees, and tables of contents.
.. toctree::
is a directive of the Python Sphinx document generation tool used to interconnect documentation files, other toctrees, and tables of contents.
This tag serves to distinguish questions specific to the specialized Sphinx .. toctree::
directive from other tables-of-contents (ToC) that may coexist, or be generated, in the same context. For example the reST ToC directive, or a LaTex ToC among others, in which case the generic tableofcontents should be used.
Additionally, this tag serves to filter questions that -altough textually containing the word "toctree"- are not about the directive in itself.
This tag can stand alone, but should be used in conjunction with the parent tag python-sphinx.
For official documentation on the .. toctree::
directive.