Skip to content

Commit fdce158

Browse files
committed
book.toml: fix regexes, add flaky mirror to linkcheck exclude
the exclude field is a list of regexes, so most of those links could match other urls. Also switched to using toml raw strings. https://michael-f-bryan.github.io/mdbook-linkcheck/mdbook_linkcheck/struct.Config.html#structfield.exclude
1 parent e018100 commit fdce158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ optional = true
2121
[output.linkcheck]
2222
optional = true
2323
follow-web-links = true
24-
exclude = [ "kernel.org", "ntp.org", "\\.onion", "localhost", "sjtu.edu.cn", "userbase.kde.org" ]
24+
exclude = [ 'kernel\.org', 'ntp\.org', '\.onion', 'localhost', 'sjtu\.edu\.cn', 'userbase\.kde\.org', 'mirrors\.cnnic\.cn' ]

0 commit comments

Comments
 (0)