Skip to content

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

Merged
merged 9 commits into from
May 15, 2025

Conversation

trallard
Copy link
Collaborator

We have a few broken links/redirects in the docs that are currently causing the CI to fail. This PR should fix these.

@trallard trallard added kind: bug Something isn't working tag: CI Pull requests that update GitHub Actions code labels May 12, 2025
Copy link
Collaborator

@gabalafou gabalafou left a 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",
Copy link
Collaborator

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?

Copy link
Collaborator Author

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.

Copy link
Collaborator

@gabalafou gabalafou left a 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

trallard and others added 3 commits May 13, 2025 13:30
Co-authored-by: Steve Piercy <web@stevepiercy.com>
Co-authored-by: gabalafou <gabriel@fouasnon.com>
@trallard trallard requested a review from gabalafou May 14, 2025 16:00
@gabalafou
Copy link
Collaborator

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. 🙂

@drammock drammock merged commit 6e536c2 into pydata:main May 15, 2025
30 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working tag: CI Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants