Skip to content

Commit 3ae2eee

Browse files
authored
lychee: remap instead of exclude (#14819)
1 parent 5fefd2a commit 3ae2eee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.lychee.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ include_fragments = true
88

99
remap = [
1010
# workaround for https://github.com/lycheeverse/lychee/issues/1729
11-
"https://github.com/(.*?)/(.*?)/blob/(.*?)/(.*#.*)$ https://raw.githubusercontent.com/$1/$2/$3/$4"
11+
"https://github.com/(.*?)/(.*?)/blob/(.*?)/(.*#.*)$ https://raw.githubusercontent.com/$1/$2/$3/$4",
12+
"https://docs.oracle.com/(.*)#.*$ https://docs.oracle.com/$1"
1213
]
1314

1415
# excluding links to pull requests and issues is done for performance
1516
# stackexchange link fails with 403 when accessed by lychee
1617
exclude = [
1718
# workaround for https://github.com/lycheeverse/lychee/issues/1729
1819
'^https://github.com/.*#issuecomment-.*$',
19-
'^https://docs.oracle.com/.*$',
2020
'^https://github.com/open-telemetry/opentelemetry-java-instrumentation/(issues|pull)/\d+$',
2121
'^http://code.google.com/p/concurrentlinkedhashmap$',
2222
'^https://softwareengineering.stackexchange.com/questions/29727.*',

0 commit comments

Comments
 (0)