forked from open-telemetry/opentelemetry-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.lychee.toml
More file actions
31 lines (26 loc) · 1.27 KB
/
.lychee.toml
File metadata and controls
31 lines (26 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
include_fragments = true
accept = ["200..=299", "403"]
remap = [
# workaround for https://github.com/lycheeverse/lychee/issues/1729
'https://github.com/(.*?)/(.*?)/blob/(.*?)/(.*#.*)$ https://raw.githubusercontent.com/$1/$2/$3/$4',
'https://docs.oracle.com/(.*)#.*$ https://docs.oracle.com/$1',
'https://www.elastic.co/(.*)#.*$ https://www.elastic.co/$1'
]
exclude = [
# workaround for https://github.com/lycheeverse/lychee/issues/1729
'^https://github.com/.*/(pull|issues|commit|compare)/.*#.*$',
'.*decision-log.md#L0-L1',
# excluding links to pull requests and issues is done for performance
'^https://github.com/open-telemetry/opentelemetry-specification/(issues|pull)/\d+$',
# TODO (trask) look into this
'^https://docs.google.com/.*/edit.*$',
'https://semver.org/#spec-item-11',
'https://w3c.github.io/trace-context/#trace-id',
'https://facebook.github.io/zstd/#small-data',
'https://javadoc.io/doc/org.apache.logging.log4j/log4j-api/latest/org.apache.logging.log4j/org/apache/logging/log4j/Logger.html',
'https://www.jaegertracing.io/docs/1.8/client-libraries/client-features/' # was removed and old version is 404
]
# better to be safe and avoid failures
max_retries = 6
# this helps slow down the rate of requests to avoid rate limiting
max_concurrency = 4