-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.lychee.toml
More file actions
66 lines (47 loc) · 1.36 KB
/
.lychee.toml
File metadata and controls
66 lines (47 loc) · 1.36 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
56
57
58
59
60
61
62
63
64
65
66
# Configuration for the lychee link checker.
# https://github.com/lycheeverse/lychee
# Root directory for resolving relative paths in the built site
root_dir = "site"
# Exclude common patterns that produce false positives
exclude = [
# Localhost / loopback addresses
"localhost",
"127\\.0\\.0\\.1",
"0\\.0\\.0\\.0",
# Placeholder / example domains
"example\\.com",
"example\\.org",
# Template variables (e.g. ${var}, {{ var }})
"\\$\\{",
"\\{\\{",
# GitHub edit links (require auth)
"github\\.com/.*/edit/",
# GitHub raw links for new/renamed files (404 until pushed)
"github\\.com/.*/raw/",
# Docs site self-references (404 until deployed)
"docs\\.liter-llm\\.kreuzberg\\.dev",
# Placeholder provider URL used in docs examples
"api\\.my-provider\\.com",
# PyPI project pages (rate-limited)
"pypi\\.org/project/",
# crates.io (rate-limited)
"crates\\.io/crates/",
# npm (rate-limited)
"npmjs\\.com/package/",
# Discord invite links (require auth)
"discord\\.gg/",
]
# Accept these HTTP status codes as valid
accept = [200, 204, 301, 302, 429]
# Connection timeout in seconds
timeout = 30
# Max retries per link
max_retries = 3
# Max concurrent requests
max_concurrency = 10
# Do not check email addresses
include_mail = false
# Do not require HTTPS
require_https = false
# Cache results to speed up repeated runs
cache = true