MCPcopy 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

resolveTargetFunction · 0.85
idsOfFunction · 0.85
errorMethod · 0.80
walkHtmlFunction · 0.70
hasMethod · 0.45

Tested by

no test coverage detected