-
-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathlychee.toml
More file actions
38 lines (30 loc) · 1.31 KB
/
lychee.toml
File metadata and controls
38 lines (30 loc) · 1.31 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
############################# Cache ###############################
# Enable link caching. This can be helpful to avoid checking the same links on
# multiple runs.
cache = true
# Discard all cached requests older than this duration.
max_cache_age = "7d"
############################# Requests ############################
exclude_path = [
"_site", # build output
# partial and incomplete paths
"_plugins",
"_layouts",
"_includes",
"_sass/mixins/_link-with-icon.scss", # lists URL prefixes
]
# Enable the checking of fragments in links.
include_fragments = true
############################# Exclusions ##########################
exclude = [
"^https?://twitter\\.com/", # all requests result in 400
"^https?://t\\.co/", # all requests result in 400
"^https?://(www\\.)?reddit\\.com/", # all requests result in 403
"^https?://(www\\.)?linkedin\\.com/", # all requests result in 999
"^https://us6\\.campaign-archive\\.com/", # all requests result in 404
"^https://software\\.opensuse\\.org/", # all requests result in 400
"^https://(www\\.)?youtube\\.com/", # all requests result in 404
# Skip archive.org links to avoid unnecessary requests.
# Archive links should usually exists, but requests are heavy.
"^https://web\\.archive\\.org/",
]