Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC: Improve NEP page layout with nested toctrees #20956

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

Merged
merged 3 commits into from
Feb 2, 2022

Conversation

rossbar
Copy link
Contributor

@rossbar rossbar commented Jan 31, 2022

A possible solution to #20952 .

The NEP listing is currently generated in individual (unnested) toctrees in a jinja template, which results in the left sidebar showing all the NEPs in whatever order they appear in the various toctrees.

This PR splits out the toctree generation into individual per-category templates that are then referenced in the main toc in the index to produce a nested sidebar organization.

@melissawm
Copy link
Member

Thanks, @rossbar !

melissawm pushed a commit to melissawm/numpy that referenced this pull request Apr 12, 2022
seberg pushed a commit to seberg/numpy that referenced this pull request Apr 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants