forked from music-encoding/music-encoding.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lychee.toml
107 lines (81 loc) · 4.36 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
############################# 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 = [
# Comparison pages
'file:///home/runner/work/music-encoding.github.io/music-encoding.github.io/archive/comparison-(.+).html https://github.com/music-encoding/music-encoding.github.io/tree/gh-pages/archive/comparison-$1.html',
# Tutorial pages (HTML & PNG)
'file:///home/runner/work/music-encoding.github.io/music-encoding.github.io/_tutorials/(.*/)?(.+).(html|png) https://github.com/music-encoding/music-encoding.github.io/tree/gh-pages/tutorials/$2.$3',
# Spanish tutorial pages (HTML)
'file:///home/runner/work/music-encoding.github.io/music-encoding.github.io/_tutorials-ES/(.*/)?(.+).html https://github.com/music-encoding/music-encoding.github.io/tree/gh-pages/tutorials-ES/$2.html',
# Spanish tutorial pages (PNG) -> reuses images from english version
'file:///home/runner/work/music-encoding.github.io/music-encoding.github.io/_tutorials-ES/(.*/)?(.+).png https://github.com/music-encoding/music-encoding.github.io/tree/gh-pages/tutorials/$2.png',
# MEI Basic
'https://github.com/music-encoding/music-encoding/tree/basic https://github.com/music-encoding/music-encoding/commit/b50748ce537b43e1527791fb41e8c28aa1582cdb',
# By-laws
'http://music-encoding.org/community/mei-organization/mei-by-laws/ https://music-encoding.org/community/mei-by-laws.html',
# Proceedings repo
'http://music-encoding.org/proceedings https://github.com/music-encoding/mec-proceedings',
# Web archived pages
'^http://music-encoding.org/community/conference/tours17/program/$ https://web.archive.org/web/20170511140944/http://music-encoding.org/community/conference/tours17/program',
'^https://sites.tufts.edu/sslbc2019/code-of-conduct/$ https://web.archive.org/web/20191209194534/http://sites.tufts.edu/sslbc2019/code-of-conduct/',
'^https://sites.tufts.edu/sslbc2019/code-of-conduct/attendee-procedure/$ https://web.archive.org/web/20230131171139/https://sites.tufts.edu/sslbc2019/code-of-conduct/attendee-procedure/',
'^https://www.annakijas.com/assets/pdf/2022-Kijas_CV.pdf$ https://web.archive.org/web/20230205005718/https://www.annakijas.com/assets/pdf/2022-Kijas_CV.pdf',
]
############################# 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.1080/01411896.2023.2231837',
'https://doi.org/10.13140/RG.2.2.15014.93760',
'https://doi.org/10.15463/music-1',
'https://doi.org/10.17613/fc1c-mx52',
'https://doi.org/10.17613/ggym-sc21',
# page outdated, but used in candidate statements
'https://arsmusicae.org',
# X is always failing because it’s only available to logged in users
'https://twitter.com/MusicEncoding',
]
# 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',
'resources/tools.md',
# Jekyll's site folder
'_site',
# past conferences may contain outdated links
'_conferences/2018',
'_conferences/2019',
'_conferences/2020',
'_conferences/2021',
'_conferences/2022',
'_conferences/2023',
'_conferences/2024',
]
# Exclude loopback IP address range and localhost from checking.
exclude_loopback = true
# Do not check mail addresses
include_mail = false