Repository navigation
Expand file tree
/
Copy pathlychee.toml
More file actions
55 lines (48 loc) · 2.21 KB
/
Copy pathlychee.toml
File metadata and controls
55 lines (48 loc) · 2.21 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
51
52
53
54
55
# Lychee configuration file
# Documentation: https://github.com/lycheeverse/lychee#configuration-file
# Maximum number of retries per link
max_retries = 3
# Maximum number of concurrent requests
max_concurrency = 10
# User agent string
user_agent = "Mozilla/5.0 (compatible; Lychee/0.15; +https://github.com/lycheeverse/lychee)"
# Accept these HTTP status codes as valid
accept = [200, 201, 202, 203, 204, 206, 301, 302, 303, 307, 308, 429]
# Timeout per request (in seconds)
timeout = 20
# Exclude template URLs that users should replace
exclude = [
"https://github.com/YOUR-USERNAME/.*",
"https://YOUR-USERNAME.github.io/.*",
"https://your-username.github.io/.*",
"http://localhost.*",
"https://localhost.*",
"http://127.0.0.1.*",
"https://127.0.0.1.*",
# quarto.org is a trusted site but may be unreachable from CI runners
"https://quarto.org/.*",
# Login-gated course sites (lecture videos and Canvas) return 401 to CI
"https://facultyweb.cs.wwu.edu/~hutchib2/video_lectures/.*",
"https://wwu.instructure.com/.*",
# StackExchange and etymonline sites answer automated clients such as CI
# link checkers with 403 Forbidden; the links work in a browser.
"https://math.stackexchange.com/.*",
"https://stats.stackexchange.com/.*",
"https://www.etymonline.com/.*",
# Stanford su.domains server periodically throttles or times out under CI requests
"https://adembo.su.domains/.*",
# probabilitybook.net times out from CI runners; the link works in a browser.
"https://www.probabilitybook.net/.*",
# islp.readthedocs.io answers CI runners with 403 Forbidden on some runs
# and passes on a re-run; the link works in a browser.
"https://islp.readthedocs.io/.*",
# Temporary (pds#458): courses.cs.washington.edu has returned HTTP 503
# for 9+ hours, so the host is down, not the link.
# The Internet Archive has a 2026-10-14 snapshot of the page.
# Remove this exclusion when the host is back.
"https://courses.cs.washington.edu/courses/cse312/20su/.*",
]
# `pds` is a symlink to the repository root, so include paths read
# `pds/...` both here and in a host site that keeps a copy at its root.
# Without this exclusion lychee follows it recursively (pds/pds/pds/...).
exclude_path = ["^(\\./)?pds/"]