| 1 | ############################# Display ############################# |
| 2 | |
| 3 | # Verbose program output |
| 4 | # Accepts log level: "error", "warn", "info", "debug", "trace" |
| 5 | verbose = "debug" |
| 6 | |
| 7 | # Don't show interactive progress bar while checking links. |
| 8 | no_progress = true |
| 9 | |
| 10 | ############################# Cache ############################### |
| 11 | |
| 12 | # Enable link caching. This can be helpful to avoid checking the same links on |
| 13 | # multiple runs. |
| 14 | cache = true |
| 15 | |
| 16 | # Discard all cached requests older than this duration. |
| 17 | max_cache_age = "1d" |
| 18 | |
| 19 | ############################# Requests ############################ |
| 20 | |
| 21 | # Comma-separated list of accepted status codes for valid links. |
| 22 | accept = [200, 429] |
| 23 | |
| 24 | ############################# Exclusions ########################## |
| 25 | |
| 26 | # Exclude URLs and mail addresses from checking (supports regex). |
| 27 | exclude = [ |
| 28 | # Network error: Forbidden |
| 29 | "https://codepen.io", |
| 30 | |
| 31 | # Timeout error, maybe Twitter has anti-bot defenses against GitHub's CI servers? |
| 32 | "https://twitter.com/mermaidjs_", |
| 33 | |
| 34 | # Don't check files that are generated during the build via `pnpm docs:code` |
| 35 | 'packages/mermaid/src/docs/config/setup/*', |
| 36 | |
| 37 | # Ignore Discord invite |
| 38 | "https://discord.gg", |
| 39 | |
| 40 | # BundlePhobia has frequent downtime |
| 41 | "https://bundlephobia.com", |
| 42 | |
| 43 | # Chrome webstore migration issue. Temporary |
| 44 | "https://chromewebstore.google.com", |
| 45 | |
| 46 | # Drupal 403 |
| 47 | "https://(www.)?drupal.org", |
| 48 | |
| 49 | # Phbpp 403 |
| 50 | "https://(www.)?phpbb.com", |
| 51 | |
| 52 | # Swimm returns 404, even though the link is valid |
| 53 | "https://docs.swimm.io", |
| 54 | |
| 55 | # Certificate Error |
| 56 | "https://noteshub.app", |
| 57 | |
| 58 | # Timeout |
| 59 | "https://huehive.co", |
| 60 | "https://foswiki.org", |
| 61 | "https://www.gnu.org", |
| 62 | "https://redmine.org", |
| 63 | "https://mermaid-preview.com" |
| 64 | ] |
| 65 | |
| 66 | # Exclude all private IPs from checking. |
| 67 | # Equivalent to setting `exclude_private`, `exclude_link_local`, and |
| 68 | # `exclude_loopback` to true. |
| 69 | exclude_all_private = true |
| 70 | |