CI: Check asciidoc link/linkdoc/... validity during builds #1958
Labels
bug
CI
Entries related to continuous integration infrastructure (historically also recipes like Makefiles)
documentation
Milestone
As confirmed during issue #1957 investigation, we can generate documentation entries intended to be cross-linked (within the present set of documents) with such links leading nowhere in fact, e.g. if some anchors were planned but forgotten, lost in refactoring, mis-typed or with wrong markup so not recognized, etc.
This issue is about somehow (using asciidoc itself? parsing the HTMLs/PDFs?) determining that documentation links which should lead to targets in the same codebase (not absolute URLs) in fact lead nowhere, and making it a fatal problem for automated builds eventually.
Feels related to #823 (fightwarn in C/C++ code) :)
For examples currently online, a generated wrong link for "A.2.2 ups: General unit information -> ups.status -> OL" looks like this:
For comparison, a nearby link to "NUT daisychain support notes" looks like this:
The text was updated successfully, but these errors were encountered: