Check the documentation links instead of reporting success on nothing - #2421
Check the documentation links instead of reporting success on nothing#2421woksin wants to merge 2 commits into
Conversation
The skip pattern excluded every URL on localhost, which is where linkinator serves the files it scans. It matched the crawl root itself, so the whole scan was skipped and each run reported success having checked zero links — locally and in CI alike. - Skip only what falls outside /Documentation/, which is exactly the site-absolute paths a single repository cannot resolve. - Fail when a run scans zero links or reports no summary at all, so the check cannot quietly become a no-op again. - Scan .mdx pages as well, and let CI run the same script contributors run, so the two configurations cannot drift apart. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VRa2Z1cA6D3Fuw9TAo6m2p
Five links kept the .md extension after the page they name became .mdx, so they resolved nowhere at all. Nine more left the extension off; the rest of the documentation links to a page by its file name, and now these do too. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VRa2Z1cA6D3Fuw9TAo6m2p
|
Reviewer context — deliberately kept out of the description. This is agent-authored and no human has read it yet. Green CI is not sign-off. The cause was not the globThe issue guessed a glob or working-directory mismatch. It is neither. The same pattern is passed to What is verified here and what is notA single repository can only resolve relative links and external URLs. Links written as site-absolute paths ( Verification
The fourteen linksFive kept Worth knowing
|
Fixed