-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mangled section order by add_domain_to_toctree #283
Comments
Really we should restrict the addition of toctree nodes to only where the documentation is generated. This functionality exists to overcome what I see as a shortcoming of Sphinx, and ideally Sphinx would be capable of adding domain nodes to the toctree itself. I've started work on this in sphinx-doc/sphinx#6316, but it might take a while. |
I completely agree, and the interface you suggest there seems nice to me. Though, I don't know much about the toctree part of Sphinx, so I can't say what the best implementation strategy is. |
Sphinx is now capable of adding domain objects to the toctree itself. Therefore add_domain_to_toctree was removed from AutoAPI and this issue is no longer relevant. |
The automatic toctree entries from domain directives is usually nice, but I encountered an odd case. Consider
then I get
The structure I would expect is
Minimal working example: autoapiTest.tar.gz
The text was updated successfully, but these errors were encountered: