-
Notifications
You must be signed in to change notification settings - Fork 479
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
strict=true & enable linkcheck by default #2051
Comments
It's a reasonable thing to include in Documenter 0.28 since that is already a breaking release? |
1.0 = 0.28 if that's what you mean 🙂 |
Activating strict links in the SciML packages, I find that there are quite a few stochastic false positives with link checking, see #2040. If some of the biggest false positives could be fixed before the breaking release, it will lessen the upgrade pains. |
Like the linked issue, those are often due to the server not behaving well, so not much we can do. Those should just be ignored with That said, linkchecking can be flaky and unreliable sometimes, even just due to random connectivity problems. So that one might have to be opt-in, rather than opt-out. E.g. it would be quite frustrating to have deployment of a tag fail due to an random, temporary linkcheck failure. In Documenter, we have dedicated workflows for running linkcheck so that it wouldn't interrupt the main docs workflow. |
A couple of follow-up thoughts here:
|
And any other checks we might have. This is to encourage people to fix the errors they have in their docs, and in particular to catch any new ones that pop up on CI. It's quite fair to say that no-one checks the warnings on CI.
This well be very breaking for existing workflows though.
X-ref: https://julialang.slack.com/archives/C67TK21LJ/p1676982324363569
The text was updated successfully, but these errors were encountered: