diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index 5c4d9bda1..0e9b54db3 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -26,6 +26,8 @@ jobs: # Use configuration file for path remapping and settings args: >- --config lychee.toml + --exclude-path '**/meta.json' + --exclude-path '**/meta.cn.json' 'content/**/*.md' 'content/**/*.mdx' 'README.md' diff --git a/.lycheeignore b/.lycheeignore index ccccf9c89..22e7071d4 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -17,3 +17,7 @@ https://x.com* # Common false positives mailto:* + +# Fumadocs metadata files (not actual links) +**/meta.json +**/meta.cn.json diff --git a/lychee.toml b/lychee.toml index a3c55c782..f79fca68f 100644 --- a/lychee.toml +++ b/lychee.toml @@ -52,7 +52,11 @@ exclude = [ "https://x.com*", # Email links - "mailto:*" + "mailto:*", + + # Fumadocs relative links (handled by framework at runtime) + # These are links like ./agent that resolve to .mdx files + "file://**/content/docs/**" ] # Cache results to speed up subsequent runs