-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy path.lychee.toml
More file actions
50 lines (40 loc) · 1.24 KB
/
.lychee.toml
File metadata and controls
50 lines (40 loc) · 1.24 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
47
48
49
50
# Lychee link checker configuration
# https://lychee.cli.rs/usage/config/
#
# Used by the link-check GitHub Actions workflow.
# Checks all links (internal + external) in the built HTML files.
# ---------------------
# Exclusions
# ---------------------
# Patterns to exclude from link checking (common false positives)
exclude = [
# Internal links — already verified as local files in the build artifact
"forrt\\.org",
# Placeholder / example domains
"example\\.com",
"localhost",
"127\\.0\\.0\\.1",
# Social media sites that block automated requests
"linkedin\\.com",
"twitter\\.com",
"x\\.com",
# Web Archive — often slow or flaky
"web\\.archive\\.org",
# GitHub edit links with templated paths
"github\\.com/.*/edit/",
]
# ---------------------
# Request settings
# ---------------------
# Accept 2xx/3xx and 429 (rate limiting)
# Note: 403 is NOT accepted — those are separated into a collapsed section
# by the workflow's post-processing step, since many publishers block bots.
accept = ["100..=399", "429"]
# Timeout per request in seconds
timeout = 30
# Maximum number of retries per link
max_retries = 3
# Maximum concurrent requests
max_concurrency = 16
# Do not show progress bar (cleaner CI output)
no_progress = true