engineering-handbook/lychee.toml

21 lines
686 B
TOML
Raw Normal View History

# 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"]