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
|
2024-02-12 16:44:41 +05:30
|
|
|
"https://discord.gg",
|
|
|
|
|
|
|
|
# BundlePhobia has frequent downtime
|
2024-02-27 13:21:49 +05:30
|
|
|
"https://bundlephobia.com",
|
|
|
|
|
|
|
|
# Chrome webstore migration issue. Temporary
|
2024-06-20 14:47:53 +05:30
|
|
|
"https://chromewebstore.google.com",
|
|
|
|
|
|
|
|
# Drupal 403
|
2024-06-21 16:37:55 +05:30
|
|
|
"https://(www.)?drupal.org"
|
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
|