Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
DOC: Prevent double entries in navigation panel of Using Matplotlib#26262
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
I would prefer the thumbnails over the headings, but that is a mild preference. If getting that is hard this is 👍 |
Ha ha. OK, we are whack-a-moling sphinx/sphinx-gallery weirdness here. #26141 added the manual TOC so that the cards inhttps://matplotlib.org/devdocs/users/explain/index.html would have subsections (see the Color card). If you remove the manual TOC, then the sphinx-gallery TOC is hidden and doesn't show up as a subsection. However, it appears that the left bar is somehow able to parseboth the hidden and the visible TOC. There seem to be a few ways to fix this
|
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.
See comments for what I think is the right path here.
StefRe commentedJul 5, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@jklymak I would be grateful if you could finish this. I tried several things but I admit didn't fully understand what I'm doing actually, so it would be great if you could make this work so maybe I can learn how things work here. |
Sure, if OK it'll be easier for me to just open a new PR. Thanks for noticing the issue! |
PR summary
Prevent double entries in navigation panel of Using Matplotlib.
closes#26261.
PR checklist