Skip to content

Commit 22324fc

Browse files
Copilottrask
andcommitted
Add lychee workarounds from java-instrumentation PRs
Co-authored-by: trask <[email protected]>
1 parent b6aa91d commit 22324fc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/config/lychee.toml

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

12+
remap = [
13+
# workaround for https://github.com/lycheeverse/lychee/issues/1729
14+
"https://github.com/(.*?)/(.*?)/blob/(.*?)/(.*#.*)$ https://raw.githubusercontent.com/$1/$2/$3/$4",
15+
"https://docs.oracle.com/(.*)#.*$ https://docs.oracle.com/$1"
16+
]
17+
1218
exclude = [
19+
# workaround for https://github.com/lycheeverse/lychee/issues/1729
20+
'^https://github.com/.*#issuecomment-.*$',
1321
"^http://localhost:",
1422
"^http://0.0.0.0:",
1523
]

0 commit comments

Comments
 (0)