DOC: Prevent double entries in navigation panel of Using Matplotlib#26262
DOC: Prevent double entries in navigation panel of Using Matplotlib#26262StefRe wants to merge 1 commit intomatplotlib:mainfrom
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 in https://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 parse both the hidden and the visible TOC. There seem to be a few ways to fix this
|
jklymak
left a comment
There was a problem hiding this comment.
See comments for what I think is the right path here.
|
@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