fix(docs): guard internal Markdown links; drop a dead reference - #123
Open
dex0shubham wants to merge 1 commit into
Open
fix(docs): guard internal Markdown links; drop a dead reference#123dex0shubham wants to merge 1 commit into
dex0shubham wants to merge 1 commit into
Conversation
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).
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.
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.