forked from music-encoding/music-encoding.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlychee.toml
77 lines (59 loc) · 2.68 KB
/
lychee.toml
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
############################# Disclaimer #############################
# Configuration file for lychee link checker.
#
# Further information and explanation of possible options can be found
# at https://github.com/lycheeverse/lychee/.
#
# Adapted from example config file: https://github.com/lycheeverse/lychee/blob/master/lychee.example.toml
############################# Display #############################
# Verbose program output
# Accepts log level: "error", "warn", "info", "debug", "trace"
verbose = "info"
############################# Runtime #############################
# Maximum number of concurrent link checks.
max_concurrency = 4
############################# Requests ############################
# Comma-separated list of accepted status codes for valid links.
accept = [200, 429]
# Remap URI matching pattern to different URI.
remap = [
'file:///home/runner/work/music-encoding.github.io/music-encoding.github.io/_tutorials https://github.com/music-encoding/music-encoding.github.io/tree/gh-pages/tutorials/',
'https://github.com/music-encoding/music-encoding/tree/basic https://github.com/music-encoding/music-encoding/commit/b50748ce537b43e1527791fb41e8c28aa1582cdb',
'http://music-encoding.org/community/conference/tours17/program/ https://web.archive.org/web/20170511140944/http://music-encoding.org/community/conference/tours17/program',
'http://music-encoding.org/community/mei-organization/mei-by-laws/ https://music-encoding.org/community/mei-by-laws.html',
'http://music-encoding.org/proceedings https://github.com/music-encoding/mec-proceedings',
]
############################# Exclusions ##########################
# Exclude these URLs from checking (supports regex).
exclude = [
# custom User files
'file:///Users/*',
# former Conftool pages
'https://www.conftool.net/music-encoding2022/*',
# these DOIs are not correctly resolved (probably too many redirects)
'https://doi.org/10.13140/RG.2.2.15014.93760',
'https://doi.org/10.15463/music-1',
# page outdated, but used in candidate statements
'https://arsmusicae.org',
]
# Exclude these filesystem paths from getting checked.
exclude_path = [
# folders and pages with Jekyll liquids
'_includes',
'_layouts',
'index.html',
'community/projects-users.md',
'conference/past.md',
# Jekyll's site folder
'_site',
# past conferences may contain outdated links
'_conferences/2018',
'_conferences/2019',
'_conferences/2020',
'_conferences/2021',
'_conferences/2022',
]
# Exclude loopback IP address range and localhost from checking.
exclude_loopback = true
# Exclude all mail addresses from checking.
exclude_mail = true