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
Turn on Sphinx Link checker on CI? #5380
Comments
Thanks. I didn't realize we weren't checking external links, so this is great. Also solves the problem that |
Huh, nifty that sphinx has that functionality built in.... |
How it works: Essentially, from
Open issues:
|
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help! |
Um is this still relevant? |
We have this in another project I'm on. The vast majority of the failures it generates are because some external documentation has moved, or because there is a temporary connection problem. So it creates CI failures in PRs that have nothing to do with the problem link. If a PR does introduce or modify a link, I would have thought the reviewers would check it manually (to verify the content is appropriate as much as whether the link works). So I would suggest that if we want this we should have it on a schedule (similar to the nightly dependency tests) rather than within PRs. |
I think it also takes ~hours to check the links in our docs (a lot of that is I think throttling to avoid getting flagged as a DDOS attack) so it is not obvious to me that we can even run our link checker on CI without getting timed out! |
The linkchecker that we use at the moment does not seem to check external links hence #5379 and others
I tried turning on the sphinx linkchecker
python make.py linkcheck
which seems to work but generate a fair number of redirect warnings and errors. Perhaps it is worth turning this on pr default?See https://gist.github.com/jenshnielsen/b3dceef10df743154942 for the present output.
The linkcheck command is broken on python 3.5 but that should be fixed in the next Sphinx point release
The text was updated successfully, but these errors were encountered: