-
Notifications
You must be signed in to change notification settings - Fork 71
Expand file tree
/
Copy pathlychee.toml
More file actions
39 lines (36 loc) · 1.71 KB
/
Copy pathlychee.toml
File metadata and controls
39 lines (36 loc) · 1.71 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
# lychee config: link checker for the toolkit's Markdown corpus.
# Accept 2xx and redirect codes. Redirects get followed; we check the final status.
# 403/429 tolerated because regulator sites and rate-limited APIs otherwise noise this up.
accept = ["200..=299", "301", "302", "307", "308", "403", "429"]
max_concurrency = 8
timeout = 20
retry_wait_time = 4
max_retries = 2
# Skip links that lychee consistently false-flags or that are intentional.
exclude = [
# Localhost / placeholder URLs in examples
"^http://localhost",
"^https://localhost",
"^http://127\\.0\\.0\\.1",
"^https://example\\.com",
"^https://hooks\\.slack\\.com/\\.\\.\\.",
# LinkedIn gates most profile URLs behind auth
"^https://(www\\.)?linkedin\\.com",
# Shields.io badges are decorative and can time out independently of docs link health
"^https://img\\.shields\\.io/coderabbit/prs/",
# GitHub org pages that require auth (teams, private projects) bounce to login or 404
"^https://github\\.com/orgs/.*/teams/",
"^https://github\\.com/orgs/.*/projects/",
# Some regulator sites return 5xx to scrapers but render fine in browsers
"^https://www\\.ecfr\\.gov",
"^https://pcaobus\\.org/oversight/standards/auditing-standards$",
# canada.ca returns HTTP/2 protocol errors to lychee's client; renders fine in browsers
"^https://www\\.canada\\.ca",
# Upstream external repo was transferred to hackIDLE; both URLs should be updated in a docs pass
"^https://github\\.com/ethanolivertroy/frdocx-to-froscal-ssp$",
# FedRAMP reorganized /resources/templates; dedicated docs pass needed to update affected links
"^https://www\\.fedramp\\.gov/resources/templates",
]
exclude_all_private = true
no_progress = true
github_token = "${GITHUB_TOKEN}"