# 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", "pages/docs/fonts public/fonts"] # 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"]