Skip to content
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

Blacklist some commonly problematic links #388

Merged
merged 1 commit into from
Jul 17, 2019

Conversation

mark-i-m
Copy link
Member

I think for now, the proper policy to follow is to blacklist links that fail often, especially when they are unlikely to change often.

We may also want to include a warning about unchecked links... or we could just let people find them for us...

cc #385 #249

@mark-i-m mark-i-m merged commit 596e952 into rust-lang:master Jul 17, 2019
@Michael-F-Bryan
Copy link
Contributor

Michael-F-Bryan commented Jul 21, 2019

We may also want to include a warning about unchecked links... or we could just let people find them for us...

@mark-i-m, would some sort of "treat broken links as warnings instead of errors" flag or "print warnings for skipped links" in mdbook-linkcheck help here? I'm going through and rewriting a bunch of internals to make it cleaner, faster, and do caching, so a small config update wouldn't be hard to slip in.

@mark-i-m
Copy link
Member Author

@Michael-F-Bryan I think it would be helpful to be able to not fail the build for certain types of errors. For example, a 404 should definitely fail the build, whereas a time out, 429 (too many requests), or 50x (internal error) should not fail the build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants