hyperhive/scripts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 8f56f86df5 ci: refuse relative markdown links in rust doc comments
check-doc-refs.sh's relative arm resolved every link against the linking
file's directory. That is right for markdown and wrong for a .rs doc
comment: rustdoc emits the href verbatim onto a page under
target/doc/<crate>/<module...>/, so the link resolves against THAT
directory instead.

The consequence was a false pass, not a miss -- a link resolving from the
source dir got certified while rendering broken in the published docs.
Reproduced against main's script: a `](../../docs/README.md)` planted in
hive-forge/src/client.rs resolves from hive-forge/src/ and the old rule
exits 0.

Refused rather than resolved rustdoc-aware. The repo has zero relative
links in .rs doc comments (measured on 54daf9ac), so nothing needs the
second reader, and the backticked repo-root form the root arm already
gates renders correctly under both. Inferring module nesting would be
machinery in service of a form nothing uses.

Closes #3928
2026-09-02 12:29:13 +02:00
..
check-comment-blocks.sh scripts: cover .tsx in the tracker-tag and comment-block lints 2026-08-11 21:01:26 +02:00
check-doc-refs.sh ci: refuse relative markdown links in rust doc comments 2026-09-02 12:29:13 +02:00
check-issue-refs.sh scripts: cover .tsx in the tracker-tag and comment-block lints 2026-08-11 21:01:26 +02:00
pre-push ci: gate documentation pointers so a dead one fails the build 2026-09-02 10:23:24 +02:00