-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
change RST links to get ride of redundant “astropy” in links #11769
Conversation
Signed-off-by: Nathaniel Starkman (@nstarman) <nstarkman@protonmail.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.
Looks good to me, so approving, though it would be best for @embray to have a quick look too.
Also, the readthedocs build has been problematic yet for something like this we want to be sure it passed. Did you try locally?
Oof, I get why this is being done, but can there be a deprecation period where the old anchors still exist for a while? SunPy docs has links to a couple of places in Astropy docs, and I think it'd make our lives a little easier when dealing with this change. Actually, looking through our docs, we specifically link to:
However, while each of the above are also used as link targets within Astropy docs (see below), none of these have been "fixed" by this PR. Is that an oversight? Or do I not understand why only certain links/anchors were changed? Examples: |
Oh, I think I get it now. However, if you're going to do this, you really should change all potential link targets to maintain consistency, and not change solely the ones that are currently being used by docstrings/examples. |
Oops, that is something we should have thought about, that our docs may be linked to. Maybe this is not quite worth the hassle? |
That could well be the case. I think I'll close this PR. It's purely aesthetic and not worth making people change their docs. |
Thanks for trying! At least now we have a record that we tried for future reference. 😸 |
That's what I meant by "if at all" because I worried that changing this could break existing intersphinx links in other docs. |
Signed-off-by: Nathaniel Starkman (@nstarman) nstarkman@protonmail.com
I changed the links and then modified line breaks according to the line length.
tags: no-changelog-entry-needed ?
request review: @embray
Fixes #11690 (comment)