-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlychee.toml
More file actions
47 lines (37 loc) · 1.29 KB
/
lychee.toml
File metadata and controls
47 lines (37 loc) · 1.29 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
# Lychee configuration file for ObjectUI documentation link checking
# This configuration enables checking internal fumadocs links by mapping
# Next.js routes (e.g., /docs/guide) to filesystem paths (e.g., docs/guide.mdx)
# Maximum number of concurrent requests
max_concurrency = 10
# Timeout for each request (in seconds)
timeout = 20
# Number of retries per request
max_retries = 3
# Accept any valid status code (2xx, 3xx)
accept = [200, 204, 206, 301, 302, 303, 307, 308]
# Exclude patterns - files and URLs to skip
exclude = [
# Local development URLs
"http://localhost*",
"https://localhost*",
# Example and placeholder URLs
"https://example.com",
"http://example.com",
# Social media (anti-scraping)
"https://twitter.com*",
"https://x.com*",
# GitHub specific patterns that may cause false positives
"https://github.com/.*/compare/*",
"https://github.com/.*/commit/*",
]
# Path remapping for fumadocs internal links
# Maps Next.js routes to actual file paths
# Format: ["pattern to match", "replacement"]
remap = [
# Map /docs/* links to docs/ filesystem paths
# The file:// prefix tells lychee to check local files
"^/docs/(.*)$ file://./docs/$1"
]
# Cache configuration
# Don't use cache to ensure fresh results
cache = false