-
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
Valid DOI redirected links trigger warnings. #1344
Comments
It's especially confusing since in this case since they trigger an Documenter.jl/src/DocChecks.jl Lines 222 to 226 in 8e53b7b
whereas other errors that do trigger linkcheck failures sometimes trigger an @warn :Documenter.jl/src/DocChecks.jl Lines 236 to 237 in 8e53b7b
and sometimes an @error :Documenter.jl/src/DocChecks.jl Lines 232 to 233 in 8e53b7b
Would it be possible to make them so that any linkcheck failures always trigger an |
In this specific case, I don't think 302 errors should trigger a warning, since it is meant to be used as a temporary redirect: |
An argument one could make is that e.g. with 301 redirects the links are still technically working, so we shouldn't error on them. |
I meant any failure which does |
But is warning the best option? Can’t we check the redirected link and warn/error if it’s broken and pass otherwise? @mortenpi |
That's an additional step, that we actually follow the 3XX redirects. We could definitely do that if someone wants to take a stab at implementing this. |
Ok. Should we reopen this issue, then? |
Perhaps a new one? The DOI/302 issue has been resolved (temporary redirects do not print a warning nor an error). |
I'm seeing lots of doc warnings regarding redirected DOI links. For example
Both the first and second links work. It doesn't seem like this should be a warning.
The text was updated successfully, but these errors were encountered: