-
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
Changes from all commits
29cc5cc
52ff248
756aef6
e96308b
64a5b1b
742f1ff
6306245
a5e5795
7501c29
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -377,6 +377,7 @@ def setup(app: Sphinx) -> Dict[str, Any]: | |
# get a 403 on CI | ||
"https://canvas.workday.com/styles/tokens/type", | ||
"https://unsplash.com/", | ||
r"https://www.gnu.org/software/gettext/.*", | ||
] | ||
|
||
linkcheck_allowed_redirects = { | ||
|
@@ -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 commentThe 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 commentThe 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. |
||
r"https://app.readthedocs.org/dashboard/": r"https://app.readthedocs.org/accounts/login/\?next=/dashboard/", | ||
# miscellanenous urls | ||
r"https://python.arviz.org/": "https://python.arviz.org/en/stable/", | ||
|
@@ -398,8 +399,10 @@ def setup(app: Sphinx) -> Dict[str, Any]: | |
r"https://gitlab.com": "https://about.gitlab.com/", | ||
r"http://www.yahoo.com": "https://www.yahoo.com/", | ||
r"https://feature-engine.readthedocs.io/": "https://feature-engine.trainindata.com/en/latest/", | ||
r"https://picsum.photos/": r"https://fastly.picsum.photos/", | ||
} | ||
|
||
# we have had issues with linkcheck timing and retries on www.gnu.org | ||
linkcheck_retries = 3 | ||
linkcheck_timeout = 50 | ||
linkcheck_retries = 1 | ||
linkcheck_timeout = 5 | ||
linkcheck_report_timeouts_as_broken = True |
Uh oh!
There was an error while loading. Please reload this page.