-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy path.lychee.toml
More file actions
27 lines (25 loc) · 953 Bytes
/
.lychee.toml
File metadata and controls
27 lines (25 loc) · 953 Bytes
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
format = "compact"
timeout = 30
max_retries = 3
# Treat redirects as success
accept = [200, 204, 206, 301, 302, 307, 308, 429]
exclude = [
# localhost endpoints used in code examples — not real URLs
"tcp/127\\.0\\.0\\.1",
"tcp/localhost",
"tcp/\\[::.*\\]",
"http://127\\.0\\.0\\.1",
# asciinema embeds — script src tags, not navigable links
"asciinema\\.org",
# GitHub release page anchors are dynamically generated and often 404 in CI
"github\\.com/.*/releases",
# MkDocs Material edit-page links injected at build time
"github\\.com/.*/edit/",
# Known rate-limited hosts
"crates\\.io",
# Jinja2 template expressions in site/overrides/ — unprocessed by MkDocs during build
"%7B%7B",
# file:// URLs are generated when lychee resolves internal links in the built site/ HTML
# on the CI runner — they are not real external links and are always false positives
"file://",
]