-
Notifications
You must be signed in to change notification settings - Fork 484
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
Linkcheck failing because of user agent used by Documenter #2557
Comments
Bump. Would it be possible to have a way to set a custom user agent, and don't pass % curl -sI --proto '=http,https,ftp,ftps' -H 'accept-encoding: gzip, deflate, br' 'https://www.intel.com/content/www/us/en/developer/tools/oneapi/mpi-library.html' --max-time 10 -o /dev/null --write-out '%{http_code} %{url_effective} %{redirect_url}'
200 https://www.intel.com/content/www/us/en/developer/tools/oneapi/mpi-library.html That'd work for my use case. |
I'm a bit confused: with Documenter.jl v1.7.0 (which includes #2569) I'm still seeing the check for this link fail, but locally I get % curl -sI --proto '=http,https,ftp,ftps' -H 'accept-encoding: gzip, deflate, br' --user-agent 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36' 'https://www.intel.com/content/www/us/en/developer/tools/oneapi/mpi-library.html' --max-time 10 -o /dev/null --write-out '%{http_code} %{url_effective} %{redirect_url}'
200 https://www.intel.com/content/www/us/en/developer/tools/oneapi/mpi-library.html Any clue of what could be the issue now? |
Ah, setting |
As discovered in JuliaParallel/MPI.jl#856 (comment),
MPI.jl
has a linkcheck failing because of the useragent hardcoded in DocumenterDocumenter.jl/src/docchecks.jl
Lines 216 to 217 in c2ed0b7
I'm not sure of what would be a good resolution of this issue, a somewhat customisable user agent?
The text was updated successfully, but these errors were encountered: