-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlychee.toml
More file actions
95 lines (81 loc) · 2.93 KB
/
Copy pathlychee.toml
File metadata and controls
95 lines (81 loc) · 2.93 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# @see https://lychee.cli.rs/guides/config/
# DISPLAY
################################################################################
format = "detailed"
mode = "emoji"
no_progress = false
output = ".lychee.report.md"
host_stats = true
# CACHING
################################################################################
cache = true
max_cache_age = "7d"
cache_exclude_status = "500.."
# RUNTIME
################################################################################
threads = 2
max_redirects = 10
max_retries = 2
max_concurrency = 14
default_extension = "md"
index_files = ["index.html"]
# REQUESTS
################################################################################
user_agent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36"
timeout = 20
retry_wait_time = 2
accept = ["200", "429"]
insecure = false
scheme = ["https"]
require_https = false
method = "get"
fallback_extensions = ["md", "html"]
# Resolve root-relative links (e.g. /tags/foo/) against the live site.
# Without this, lychee cannot resolve them when checking local markdown files.
base_url = "https://kollitsch.dev"
include_fragments = "anchor-only"
min_tls = "TLSv1_2"
# EXCLUSIONS
################################################################################
skip_missing = false
hidden = true
no_ignore = true
include_verbatim = false
glob_ignore_case = false
exclude = [
'^https://www\.linkedin\.com', # blocks bots
'^https://unsplash\.com', # blocks bots (401 after redirect)
'^https://www\.draeger\.com', # HTTP/2 protocol error (server-side issue)
'^https://www\.kickstarter\.com', # blocks bots (403)
'^https://www\.npmjs\.com', # blocks bots (403)
'^https://thebiologist\.rsb\.org\.uk', # blocks bots (403)
'^https://brandfetch\.com', # blocks bots (403)
'^https://www\.facebook\.com', # blocks bots (400)
'^https://www\.youtubesummaries\.com', # blocks bots (402 Payment Required)
# base_url resolves local image references (including @assets/... Astro paths
# and relative ./file.png paths) as kollitsch.dev URLs; these are verified by
# the Astro build, not by lychee
'^https://kollitsch\.dev/.*\.(png|jpg|jpeg|gif|webp|svg|avif|mp4|webm|pdf)$',
# lychee resolves same-page anchors (#section) against base_url without the
# page's own path, producing https://kollitsch.dev/#section instead of
# https://kollitsch.dev/page/#section — exclude these misresolved root fragments
'^https://kollitsch\.dev/#',
]
exclude_path = [
"layouts/",
"CHANGELOG.md",
"PROJECT.md",
"TODO.md",
]
extensions = ["md", "txt", "html"]
include = ['gist\.github\.com.*']
exclude_all_private = false
exclude_private = false
exclude_link_local = false
exclude_loopback = false
include_mail = true
include_wikilinks = false
# HOSTS
################################################################################
host_concurrency = 5
host_request_interval = "50ms"