Skip to content

Commit 4e8bf9c

Browse files
authored
Merge pull request #12 from trask/copilot/fix-ccbb36a4-4783-4554-a576-65503c7b01ad
Add lychee workarounds and update to v0.20.1
2 parents 4644131 + da89463 commit 4e8bf9c

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/config/lychee.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,22 @@ max_concurrency = 4
99
# Check link anchors
1010
include_fragments = true
1111

12+
# Include additional file types beyond the default markdown/HTML
13+
include = [
14+
"**/*.md",
15+
"**/*.java",
16+
"**/*.yml"
17+
]
18+
19+
remap = [
20+
# workaround for https://github.com/lycheeverse/lychee/issues/1729
21+
"https://github.com/(.*?)/(.*?)/blob/(.*?)/(.*#.*)$ https://raw.githubusercontent.com/$1/$2/$3/$4",
22+
"https://docs.oracle.com/(.*)#.*$ https://docs.oracle.com/$1"
23+
]
24+
1225
exclude = [
26+
# workaround for https://github.com/lycheeverse/lychee/issues/1729
27+
'^https://github.com/.*#issuecomment-.*$',
1328
"^http://localhost:",
1429
"^http://0.0.0.0:",
1530
]

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tools]
2-
lychee = "0.18.1"
2+
lychee = "0.20.1"
33

44
[tasks.link-check]
55
run = 'lychee --verbose --config .github/config/lychee.toml .'

0 commit comments

Comments
 (0)