forked from PapiHack/document-templating-service
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.lycheerc.toml
More file actions
52 lines (41 loc) · 1.13 KB
/
.lycheerc.toml
File metadata and controls
52 lines (41 loc) · 1.13 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
# Lychee link checker configuration
# https://github.com/lycheeverse/lychee
# Maximum number of concurrent requests
max_concurrency = 10
# Request timeout in seconds
timeout = 30
# User agent string
user_agent = "Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0"
# Accept invalid certificates and insecure connections
insecure = false
accept = [200, 201, 204, 206, 301, 302, 303, 307, 308, 999]
# Exclude URLs matching these patterns
# Note: Specific problematic URLs are listed in .lycheeignore
exclude = [
# Container registries (not browsable)
"ghcr.io",
"azurecr.io",
"amazonaws.com",
# Example domains
"example.com",
"example.org",
"test.com",
# Potentially unreliable external services
"twitter.com",
"x.com",
"facebook.com",
"linkedin.com",
"instagram.com",
"raw.githubusercontent.com",
"hub.docker.com",
"pypi.org",
]
# Include only these schemes
include = ["https", "http"]
# Check external links
include_verbatim = false
# Maximum number of redirects to follow
max_redirects = 5
# Retry configuration
retry_wait_time = 2
max_retries = 3