Skip to content

fix(docs): guard internal Markdown links; drop a dead reference - #123

Open
dex0shubham wants to merge 1 commit into
zhaoxuya520:mainfrom
dex0shubham:fix/broken-doc-links
Open

fix(docs): guard internal Markdown links; drop a dead reference#123
dex0shubham wants to merge 1 commit into
zhaoxuya520:mainfrom
dex0shubham:fix/broken-doc-links

Conversation

@dex0shubham

Copy link
Copy Markdown
Contributor

Adds skills/scripts/verify-doc-links.py, wired into the case-contract CI job, which fails on any internal Markdown link that does not resolve to a git-tracked file. It skips fenced code blocks, the generated tool-index.md, external/anchor links, and the vendored src-hunter payload corpus (imported knowledge base with its own accounting, and AV-quarantined on Windows clones). Also removes a dangling phishing-case-study.md reference in skills/reverse-engineering/field-notes.md whose target was never created — the analysis is inline. Verified against all 440 tracked .md files (reading git blobs): 0 broken links outside the excluded corpus. Note for maintainer: payloader/index.md still lists tools/反弹shell.md, which was never committed but is counted in the index totals (14 categories / 114 entries) — that looks like a genuinely missing vendored file to restore, so I left it out of the guard's scope rather than delete the row.

Add skills/scripts/verify-doc-links.py (wired into the case-contract CI
job): it fails on any internal Markdown link that does not resolve to a
tracked file, skipping fenced code, the generated tool-index.md, and the
vendored src-hunter corpus. Also remove a dangling phishing-case-study.md
pointer in field-notes.md whose target was never created (analysis is inline).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant