Conversation
This PR adds a check for dead links to the pull request CI pipeline. The check happens locally: it should not access the internet.
Co-authored-by: Bryan Gin-ge Chen <bryangingechen@gmail.com>
Summary
Errors per inputErrors in build/100.html
Errors in build/1000.html
Errors in build/glossary.html
|
|
@Vierkantor this is failing on all links into the doc-gen4 generated docs, I think. Shall we just filter those out from the link checker, to at least get something useful in? |
The header HTML from header-data.json contains doc-relative links for all prefixes (Archive/, Init/, Batteries/, etc.), but only ./Mathlib/ links were being rewritten to ./mathlib4_docs/Mathlib/. This caused broken links on 100.html and 1000.html for declarations in Archive/, Init/, and Batteries/. Fix by rewriting all href="./" links to href="./mathlib4_docs/", matching the existing treatment of docs_link on line 417. Also fix a broken relative link in the glossary: simp.html should be extras/simp.html.
|
:bot: says: I had a look at the 134 errors. There are two pre-existing issues, and I've pushed a fix in 7901a76: 133 errors from 1 error from |
This PR adds a check for dead links to the pull request CI pipeline. The check happens locally: it should not access the internet.