-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Replace :ref:sphx_glr_...
by :doc:/...
.
#11312
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
Conversation
2e67a84
to
233837b
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.
I didn't check all the links but I agree this is more readable in the source...
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.
Needs a rebase
@anntzer can self-merge conditional on CI passing.
The latter form is shorter, not specific to sphinx-gallery, maps more cleanly to the actual path (no confusion between underscores and slashes), and links to the example page itself rather than an anchor just below it. Done by sed + manual checking.
Self-merging per #11312 (review). |
There seem to be a conflict, please backport manually |
This also backported parts of other PRs making changes to the docs. Replace :ref:`sphx_glr_...` by :doc:`/...`. Conflicts: examples/color/color_cycler.py - deleted, not present on 2.2.x examples/axes_grid1/simple_anchored_artists.py examples/images_contours_and_fields/contour_image.py examples/images_contours_and_fields/quiver_demo.py examples/images_contours_and_fields/quiver_simple_demo.py examples/misc/anchored_artists.py - keep master version
backported to v2.2.x as e5ce40b |
The latter form is shorter, not specific to sphinx-gallery, maps more
cleanly to the actual path (no confusion between underscores and
slashes), and links to the example page itself rather than an anchor
just below it.
(Compare for example https://matplotlib.org/devdocs/tutorials/colors/colors.html#sphx-glr-tutorials-colors-colors-py where the top is chopped off by the top banner and one needs to scroll up, vs https://matplotlib.org/devdocs/tutorials/colors/colors.html)
Done by sed + manual checking.
PR Summary
PR Checklist