-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlychee.toml
More file actions
69 lines (53 loc) · 1.38 KB
/
lychee.toml
File metadata and controls
69 lines (53 loc) · 1.38 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
# Lychee Link Checker Configuration
# For PostScript Language Reference Guide
# https://github.com/lycheeverse/lychee
# Cache results to avoid re-checking same URLs
cache = true
max_cache_age = "1d"
# Check both source files and built site
include_verbatim = true
# Recursively check all files
recursive = true
# File types to check
# We'll check AsciiDoc source and built HTML
include = [
#"docs/**/*.adoc",
"_site/**/*.html"
]
# Excluded paths
exclude = [
".git",
".github",
"node_modules",
"vendor",
".bundle",
".sass-cache",
".jekyll-cache"
]
# Link checking behavior
max_redirects = 10
max_retries = 3
timeout = 20
# Accept status codes
accept = [
"100..=103", # Informational
"200..=299", # Success
"429" # Too Many Requests (retry handled by max_retries)
]
# User agent to identify ourselves
user_agent = "lychee/postscript-guide-link-checker"
# Check HTTP, HTTPS, and file:// schemes
scheme = ["https", "http", "file"]
# Include file:// URLs for local link checking
include_file = true
# Handle different link types
include_mail = false # Don't check mailto: links
# Follow links but don't check their content recursively
max_concurrency = 8
# Verbose output for debugging
verbose = "info"
# Require HTTPS where possible
require_https = false # Don't enforce
# Check fragment identifiers (anchors)
# include_fragments = true
index_files = ["index.html"]