Is there any option to use labels in sphinx-autosummary toctree? Sphinx can build a toctree such as:
.. toctree::
Main page <module.main>
The above will display "Main page" in the TOC of the HTML document. I would like the same using autosummary toctree
.. autosummary::
:toctree:
Main page <module.main>
However, the above label produces: module\main.rst: WARNING: document isn't included in any toctree
The purpose of this, when the html page is generated the TOC shows:
module package
module.main module
What I want to see is:
module package
main module
I am not even sure that this is the right place to achieve the above rendering