Skip to content

Commit 7ff7c6b

Browse files
sharadregoticlaude
andcommitted
Fix lychee checking internal/relative links
Add scheme = ["https", "http"] to lychee.toml so lychee only attempts to check http/https URLs. Without this, lychee tries to resolve root-relative paths (/img/..., /page/...) as file URIs and fails. Internal links are already validated by validate-docs.yml. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 63ba60a commit 7ff7c6b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lychee.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Lychee external link checker configuration
22
# Docs: https://lychee.cli.rs/usage/configuration/
33

4+
# Only check http/https URLs — skips root-relative paths (/img/..., /page/...),
5+
# file paths, mailto:, etc. Internal links are validated by validate-docs.yml.
6+
scheme = ["https", "http"]
7+
48
# Only check external URLs — internal links are validated by validate-docs.yml
59
exclude = [
610
# Tyk-owned domains (covered by internal link checks)

0 commit comments

Comments
 (0)