Update .lychee.toml to exclude the following patterns: - ARM domains (developer.arm.com, infocenter.arm.com) which return 403 Forbidden due to anti-bot protections in CI. - Local TCP addresses (192.168.1.10) which are unsupported by the link-checker tool. - The .lychee.toml file itself, to prevent the tool from recursively checking its own regex exclusion patterns as valid URLs. Signed-off-by: Saravanan D <saravanand@crusoe.ai>
36 lines
1.1 KiB
TOML
36 lines
1.1 KiB
TOML
verbose = "info"
|
|
|
|
exclude_path = [".lychee.toml"]
|
|
|
|
exclude = [
|
|
# Availability of links below should be manually verified.
|
|
# Page for intel TDX support, returns 403 while querying.
|
|
'^https://www.intel.com/content/www/us/en/developer/tools/trust-domain-extensions/overview.html',
|
|
# Page for TPM, returns 403 while querying.
|
|
'^https://trustedcomputinggroup.org/wp-content/uploads/PC-Client-Specific-Platform-TPM-Profile-for-TPM-2p0-v1p05p_r14_pub.pdf',
|
|
|
|
# GitHub user smibarber referenced in `CREDITS.md` no longer exist
|
|
'^https://github.com/smibarber',
|
|
|
|
# OSDev has added bot protection and accesses my result in 403 Forbidden.
|
|
'^https://wiki.osdev.org',
|
|
# Exclude all pages with $ in the URL since $XXX is a variable
|
|
"\\$.*",
|
|
# Exclude local files
|
|
"file://.*",
|
|
|
|
# ARM documentation returns 403 Forbidden for automated CI checks.
|
|
'^http://infocenter\.arm\.com',
|
|
'^https://developer\.arm\.com',
|
|
|
|
# Ignore internal/unsupported protocols seen in logs
|
|
'^tcp://192\.168\.1\.10',
|
|
]
|
|
|
|
# Exclude loopback addresses
|
|
exclude_loopback = true
|
|
|
|
|
|
max_retries = 3
|
|
|
|
retry_wait_time = 5
|