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: Fix thumbnail title for sphinx gallery#25508
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
Sphinx Gallery 0.11.0 left RST formatting characters in the thumbnailtitles. This was fixed in version 0.12.2 for most cases bygithub.com/sphinx-gallery/sphinx-gallery/pull/1005, which doesn'tcover default roles. So to restore the previous behavior we needto explicitely a role.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
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.
I don't suppose there is appetite for linking to the main library way of doing these things while we are on this page? Eghttps://matplotlib.org/stable/gallery/subplots_axes_and_figures/colorbar_placement.html
@jklymak I didn't look at the content of the example, just the way the title displays in the thumbnail. So I'd prefer not to change the content of the example in this PR. This is mainly because I've never used the |
…508-on-v3.7.1-docBackport PR#25508 on branch v3.7.1-doc (DOC: Fix thumbnail title for sphinx gallery)
…508-on-v3.7.xBackport PR#25508 on branch v3.7.x (DOC: Fix thumbnail title for sphinx gallery)
Uh oh!
There was an error while loading.Please reload this page.
PR Summary
Sphinx Gallery 0.11.0 left RST formatting characters in the thumbnail titles. This was fixed in version 0.12.2 for most cases bysphinx-gallery/sphinx-gallery/pull/1005, which doesn't cover default roles. So to restore the previous behavior we need to explicitely specify a role.
Closes#23884.
PR Checklist
Documentation and Tests
pytest
passes)Release Notes
.. versionadded::
directive in the docstring and documented indoc/users/next_whats_new/
.. versionchanged::
directive in the docstring and documented indoc/api/next_api_changes/
next_whats_new/README.rst
ornext_api_changes/README.rst