Skip to content

Include root_doc in toc #13351

Answered by chrisjsewell
WhyNotHugo asked this question in Q&A
Feb 17, 2025 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Heya, maybe you are after the self key, as mentioned in https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-toctree:

The special entry name self stands for the document containing the toctree directive.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@WhyNotHugo
Comment options

Comment options

You must be logged in to vote
2 replies
@WhyNotHugo
Comment options

@WhyNotHugo
Comment options

Answer selected by WhyNotHugo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants