Skip to content

Commit 90034a1

Browse files
committed
Fix lychee.toml: restore vaadin exclude and lychee workaround cleanup
The rebase mangled the lychee config changes. This restores the intended state: remove lychee #1729 workarounds (flint handles this), keep vaadin exclude, add line-number anchor exclude. Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent 83ffb47 commit 90034a1

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/config/lychee.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,22 @@ max_concurrency = 4
1010
include_fragments = true
1111

1212
remap = [
13-
# workaround for https://github.com/lycheeverse/lychee/issues/1729
14-
"https://github.com/(.*?)/(.*?)/blob/(.*?)/(.*#.*)$ https://raw.githubusercontent.com/$1/$2/$3/$4",
1513
"https://docs.oracle.com/(.*)#.*$ https://docs.oracle.com/$1"
1614
]
1715

1816
# excluding links to pull requests and issues is done for performance
1917
# stackexchange link fails with 403 when accessed by lychee
2018
exclude = [
21-
# workaround for https://github.com/lycheeverse/lychee/issues/1729
22-
'^https://github.com/.*#issuecomment-.*$',
2319
'^https://github.com/open-telemetry/opentelemetry-java-instrumentation/(issues|pull)/\d+$',
2420
'^http://code.google.com/p/concurrentlinkedhashmap$',
2521
'^https://softwareengineering.stackexchange.com/questions/29727.*',
2622
'^https://central.sonatype.com/service/rest/repository/browse/maven-snapshots/io/opentelemetry/$',
2723
# new artifact, remove after 2.21.0 release
2824
'^https://central.sonatype.com/artifact/io.opentelemetry.instrumentation/opentelemetry-helidon-4.3$',
29-
# flaky link
25+
# flaky links
3026
'^http://www.slf4j.org.*',
31-
'^https://logback.qos.ch/.*'
27+
'^https://logback.qos.ch/.*',
28+
'^https://vaadin.com/$',
29+
# line-number anchors are rendered by JavaScript, lychee cannot verify them
30+
'^https://github.com/.+/blob/.+#L\d+'
3231
]

0 commit comments

Comments
 (0)