2023-08-03 19:55:44 +02:00
|
|
|
############################# Display #############################
|
|
|
|
|
|
|
|
# Verbose program output
|
|
|
|
# Accepts log level: "error", "warn", "info", "debug", "trace"
|
|
|
|
verbose = "debug"
|
|
|
|
|
|
|
|
# Don't show interactive progress bar while checking links.
|
|
|
|
no_progress = true
|
|
|
|
|
|
|
|
############################# Cache ###############################
|
|
|
|
|
|
|
|
# Enable link caching. This can be helpful to avoid checking the same links on
|
|
|
|
# multiple runs.
|
|
|
|
cache = true
|
|
|
|
|
|
|
|
# Discard all cached requests older than this duration.
|
|
|
|
max_cache_age = "1d"
|
|
|
|
|
|
|
|
############################# Requests ############################
|
|
|
|
|
|
|
|
# Comma-separated list of accepted status codes for valid links.
|
|
|
|
accept = [200, 429]
|
|
|
|
|
|
|
|
############################# Exclusions ##########################
|
|
|
|
|
|
|
|
# Exclude URLs and mail addresses from checking (supports regex).
|
|
|
|
exclude = [
|
|
|
|
# Network error: Forbidden
|
|
|
|
"https://codepen.io",
|
|
|
|
|
|
|
|
# Timeout error, maybe Twitter has anti-bot defenses against GitHub's CI servers?
|
|
|
|
"https://twitter.com/mermaidjs_",
|
|
|
|
|
|
|
|
# Don't check files that are generated during the build via `pnpm docs:code`
|
|
|
|
'packages/mermaid/src/docs/config/setup/*',
|
|
|
|
|
2024-01-23 10:56:44 +03:00
|
|
|
# Ignore Discord invite
|
|
|
|
"https://discord.gg"
|
2023-08-03 19:55:44 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
# Exclude all private IPs from checking.
|
|
|
|
# Equivalent to setting `exclude_private`, `exclude_link_local`, and
|
|
|
|
# `exclude_loopback` to true.
|
|
|
|
exclude_all_private = true
|