Repository navigation
Conversation
added 5 commits
August 31, 2026 14:27
The Maven snippets pinned 0.1.1 and the Gradle snippet 0.1.0, while the project is at 0.2.0. The licence link pointed at LICENSE, but the file is LICENSE.md. - Install snippets -> 0.2.0 - Note that imani-bom consumers should omit the version so all six modules move together - Fix the licence link Verified: mvn test passes; doccheck clean.
Three fixes found while extending the checker across the rest of the stack: - Index .ts and .tsx declarations and exported React components. Several repos ship a TypeScript client whose types are legitimately named in docs; without this the checker reported them all as unknown. - Skip plans/, specs/, superpowers/, and archive/ directories. Those documents quote link lines destined for other files, whose relative paths are correct only from the target, so checking them reports the quoting rather than a broken link. - Extend the built-in skip list with JDK, Spring, browser, and node types commonly named in prose.
The link checker special-cased http, https, and mailto. A nostr: URI in a README was therefore resolved as a relative path and reported broken. Any scheme before the first slash now counts as external. Verified against a fixture: scheme URIs skip, a genuinely broken relative link is still reported and still exits non-zero.
A superseded checkout keeps its documentation as written; repairing its links would imply the tree is maintained. A repository can now declare 'doccheck: skip-links' in .doccheck-allow to record that decision. Opt-in only, verified against a fixture: without the marker a broken link is still reported and still exits non-zero.
The class check indexes sibling repositories because docs legitimately cite types
in them. It guarded against a single-repo checkout with a MIN_TYPES=50 threshold,
which is unsound: a repository with its own sources easily exceeds 50 while still
lacking every sibling, so in CI the check ran against an incomplete index and
reported cross-repo references as unknown. Simulating a CI clone confirmed it:
cashu-mint alone produced 35 false unknowns.
Detect the case directly instead, by asking whether any sibling repository is
present, and handle the partial workspace between the two extremes:
single repo class check skipped; links and config still checked
partial unresolved names reported but not failed, since a name may
live in a repo that is not checked out
full workspace class check enforced
Verified in all three modes, and against a fixture with a genuinely broken link
and a fake class name, which still fails and still exits non-zero.
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.
Documentation only. No version bump:
nsecbunker-javastays at 0.2.0, which iswhat is published, because the jar is unchanged.
What is here
scripts/doccheck.py, the shared documentation checker: it fails when a guidenames a type or method that does not exist, a link resolves to nothing, or an
install snippet quotes a version other than the one being built.
Verification
GitHub Actions runners are not being assigned org-wide at the moment, so CI here
may not report.
doccheck.pywas run locally.