-
Notifications
You must be signed in to change notification settings - Fork 341
MAINT - Fix linkcheck failures #2207
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
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.
Almost there! I think the gnu.org gettext regex needs updating, and @stevepiercy's comment needs to be addressed
@@ -389,7 +390,7 @@ def setup(app: Sphinx) -> Dict[str, Any]: | |||
r"https://virtualenv.pypa.io/": "https://virtualenv.pypa.io/en/latest/", | |||
# catching redirects in rtd | |||
r"https://[A-Za-z\d_\-\.]+.readthedocs.io/": r"https://[A-Za-z\d_\-\.]+\.readthedocs\.io(/en)?/(stable|latest)/", | |||
r"https://readthedocs.org/": r"https://about.readthedocs.com\?ref=readthedocs.org", | |||
r"https://readthedocs.org/": r"https://about.readthedocs.com/\?ref=app.readthedocs.org", |
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.
Should we change the link to readthedocs.org to https://about.readthedocs.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 believe the canonical URL is/should be readthedocs.com, I do not think we need to change it.
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.
Meant to click request changes
Co-authored-by: Steve Piercy <web@stevepiercy.com>
Co-authored-by: gabalafou <gabriel@fouasnon.com>
This looks good to me! Looking forward to having the CI all green again. 😌 I can't merge this because of the failing lighthouse check (expected until you rebase main), so I'll let you do the honors. 🙂 |
We have a few broken links/redirects in the docs that are currently causing the CI to fail. This PR should fix these.