mirror of
https://github.com/Sea-Haven-Industries/engineering-handbook.git
synced 2026-09-30 06:53:15 +00:00
21 lines
686 B
TOML
21 lines
686 B
TOML
|
|
# lychee link-checker config for the engineering handbook.
|
||
|
|
# Used by CI (lychee-action in .github/workflows/ci.yaml) and reproducible
|
||
|
|
# locally with:
|
||
|
|
# docker run --rm -v "$PWD:/input" lycheeverse/lychee \
|
||
|
|
# --config /input/lychee.toml /input/**/*.md
|
||
|
|
|
||
|
|
# Cache results between runs to cut repeat network calls.
|
||
|
|
cache = true
|
||
|
|
|
||
|
|
# Retry transient failures before giving up.
|
||
|
|
max_retries = 2
|
||
|
|
retry_wait_time = 2
|
||
|
|
timeout = 20
|
||
|
|
|
||
|
|
# Treat 2xx as success and tolerate 429 (rate-limited) so external flakiness
|
||
|
|
# never reds an otherwise-valid docs change. Broken internal links still fail.
|
||
|
|
accept = ["200..=299", "429"]
|
||
|
|
|
||
|
|
# Don't traverse dependency dirs.
|
||
|
|
exclude_path = ["node_modules", ".git"]
|