Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boringstack-xyz/boringstack
/ check-fragments.mjs
File
check-fragments.mjs
apps/docs/scripts/check-fragments.mjs:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env node
2
/*
3
* Verify every intra-site fragment link in the built docs resolves to a
4
* real element id. lychee's --include-fragments cannot do this: it does
Callers
nothing calls this directly
Calls
5
resolveTarget
Function · 0.85
idsOf
Function · 0.85
error
Method · 0.80
walkHtml
Function · 0.70
has
Method · 0.45
Tested by
no test coverage detected