-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathlychee.toml
More file actions
46 lines (40 loc) · 1.15 KB
/
lychee.toml
File metadata and controls
46 lines (40 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# lychee configuration for the MPP docs site.
# Validates external links in markdown, MDX, and config sources.
# See https://lychee.cli.rs/usage/config/
# Network settings
max_redirects = 10
max_concurrency = 16
timeout = 20
retry_wait_time = 2
# Some hosts (Twitter, LinkedIn, Cloudflare-protected sites) reject the default UA.
user_agent = "Mozilla/5.0 (compatible; mpp-docs-link-checker/1.0; +https://mpp.dev)"
# Auth-walled or rate-limited statuses are still "reachable".
accept = ["200..=299", "401", "403", "429"]
exclude_path = [
"node_modules",
"dist",
".vocs",
".vercel",
"playwright-report",
"test-results",
"patches",
]
exclude = [
# Internal docs routes are validated by Vocs dead-link checks during build.
"^/",
"^\\./",
"^\\.\\./",
"^https?://(www\\.)?mpp\\.dev",
# Local / placeholder hosts.
"^https?://localhost",
"^https?://127\\.0\\.0\\.1",
"^https?://0\\.0\\.0\\.0",
"^https?://\\[::1\\]",
"^https?://([a-z0-9-]+\\.)*example\\.(com|org|net)",
# SVG xmlns reference, not a real link.
"^http://www\\.w3\\.org/2000/svg$",
]
# Reuse cached results across runs.
cache = true
max_cache_age = "1d"
no_progress = true