Files
nym/lychee.toml
mfahampshire 613d496133 Add Lychee linkchecker for inter-doc links (#6438)
* Add Lychee linkchecker for inter-doc links

* Fix path to linkcheckr CI

* Try fix path again

* Update lychee config

* Fix broken links

* Add Lychee usage info to readme
2026-02-10 10:59:17 +00:00

19 lines
722 B
TOML

# This is a pre-commit linkchecker for the docs site
#
# Lychee is explicit with links, whereas NextJS resolves links w/out extensions to md(x)
fallback_extensions = ["mdx", "md"]
# Root directory for resolving absolute paths (pages for content)
# Note: root_dir must be passed via CLI with absolute path in CI
# root_dir = "documentation/docs/pages/"
# Remap /images to public/images for NextJS static assets
# Lychee resolves /images to pages/images, but Next.js serves from public/images
remap = ["pages/images public/images"]
# Exclude component snippets (TODO: verify which are still in use)
exclude_path = ["components/"]
# Only check local file links (skip external URLs for pre-commit speed)
scheme = ["file"]