Skip to content

Conversation

mark-i-m
Copy link
Contributor

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

2 participants