ci(doc): fail the build on a dead reference or a leftover wiki image - #731
Merged
Merged
Conversation
wodoc reports the markup that was meant to become a link and did not, and --strict-refs makes it fatal. Now that the docs build again (#730), this one reports nothing at all: no dead reference, and not even a reference into a dependency the site does not host.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
wodoc buildreports the markup that was meant to become a link or an image anddid not, and
--strict-refsmakes it fatal (ocsigen/wodoc#14, refined in #17, #18and #20).
ocsigen-start is the last Ocsigen project to get this. It could not, until #730
made its docs build again — they had been frozen on gh-pages since 2026-06-22.
The rebuild reports nothing: no dead reference, and not even a reference into a
dependency the site does not host. Every page of the manual on gh-pages carries 0
unresolved span.
With this, every project except js_of_ocaml (ocsigen/js_of_ocaml#2411, left for its
maintainers) fails its doc build rather than shipping a link that leads nowhere.