Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Comment on lines +29 to +30
Copy link

Copilot AI Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--exclude-path '**/meta.json' / --exclude-path '**/meta.cn.json' appear redundant with the current invocation because the inputs being scanned are only content/**/*.md, content/**/*.mdx, and README.md (so no meta*.json files are included). If the intent is to prevent lychee from parsing those JSON files, either remove these flags for clarity or broaden the input globs to include the JSON files and keep the excludes.

Suggested change
--exclude-path '**/meta.json'
--exclude-path '**/meta.cn.json'

Copilot uses AI. Check for mistakes.
'content/**/*.md'
'content/**/*.mdx'
'README.md'
Expand Down
4 changes: 4 additions & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ https://x.com*

# Common false positives
mailto:*

# Fumadocs metadata files (not actual links)
**/meta.json
**/meta.cn.json
6 changes: 5 additions & 1 deletion lychee.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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/**"
Comment on lines +57 to +59
Copy link

Copilot AI Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new exclude pattern file://**/content/docs/** is very broad and will match all file:// URLs under content/docs (including the remapped /docs/... links that this config is intended to validate). That likely disables internal doc link validation entirely and leaves only external HTTP/HTTPS checks. Consider narrowing this to only the problematic extensionless routes (e.g., links that don’t end with .md/.mdx) or adding a remap strategy that appends .mdx/.md for Fumadocs-style ./agent routes, so existing internal link checks remain effective.

Copilot uses AI. Check for mistakes.
]

# Cache results to speed up subsequent runs
Expand Down
Loading