The lint job fails on broken Markdown links and anchors #46
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lantea-one/ninlil#46
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Every D-pass gate ran a scratch link and anchor checker over the tracked
.mdfiles (d-design.md:1903:"52 md files, 439 links, 17 external, 0 broken").
.forgejo/scripts/lint.shhas no such step,so a renamed heading breaks links unnoticed. #4, #5 and #7 ask for the same check.
What changes
A script under
.forgejo/scripts/(header per AGENTS.md comment standard) that checks relativelinks and
#anchors(GitHub/Forgejo slug rules) in every tracked.md, skipping external URLsand
node_modules; called fromlint.sh; a self-test in.forgejo/scripts/tests/(one good,one broken link, one broken anchor). An opt-in flag also fetches external links (#43).
Acceptance
Source
d-design.md:393("the docs link checker as a CI lint step").Ghost referenced this issue2026-11-05 11:08:01 -05:00