-
Notifications
You must be signed in to change notification settings - Fork 136
Expand file tree
/
Copy path.lychee.toml
More file actions
32 lines (25 loc) · 1.2 KB
/
.lychee.toml
File metadata and controls
32 lines (25 loc) · 1.2 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
# Maximum number of allowed retries before a link is declared dead.
max_retries = 5
# Don't show interactive progress bar while checking links.
no_progress = true
# Website timeout from connect to response finished.
timeout = 20
# Minimum wait time in seconds between retries of failed requests.
retry_wait_time = 4
# Comma-separated list of accepted status codes for valid links.
# accept = ["200", "206", "403", "429"]
accept = ["200", "429", "502", "504"]
verbose = "error"
# Exclude files from scanning
exclude_path = [
"sitemap\\.xml", # Contains pre-publish production URLs
"404\\.html", # Root-relative links (/, /documentation/) can't resolve in local checks
]
# Exclude URLs that fail due to external issues (broken SSL, pre-deploy only, etc.)
exclude = [
"https://mflowcode\\.github\\.io/sitemap\\.xml", # Only exists after deployment
"https://cpe\\.ext\\.hpe\\.com", # HPE Cray docs have broken SSL cert
"https://sc22\\.supercomputing\\.org", # Returns 415 to automated requests
"https://strawberryperl\\.com", # Frequently times out
"https://www\\.olcf\\.ornl\\.gov/summit", # Returns 503 to automated requests
]