-
Notifications
You must be signed in to change notification settings - Fork 22
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
docs(api): Change structure to enable dropdowns in sidebar #1325
Conversation
7c3143a
to
be82ec6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, it's much much nicer!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Indeed, it is much nicer. We can always improve the landing API page if we find some ways. But it is a net improvement.
I'll address my comment in a follow-up PR when working on #1328. Having those changes will be pretty handy ;) |
Many thanks! 🙏 |
Our sphinx theme automatically adds dropdowns in the sidebar when the docs are nested in directories and subdirectories. This PR changes the structure of the docs to enable dropdowns.
One trade-off is that
toctree
andautosummary
cannot both be used, so in the API index page, we no longer have a table-formatted list of all the public API functions and classes.Before:

After:

Supersedes #1302
Closes #1095
Co-authored-by: Guillaume Lemaitre [email protected]