Skip to content

fix: configure lychee link checker for Astro base path#125

Merged
braboj merged 4 commits into
mainfrom
fix/lychee-link-checker
Apr 25, 2026
Merged

fix: configure lychee link checker for Astro base path#125
braboj merged 4 commits into
mainfrom
fix/lychee-link-checker

Conversation

@braboj

@braboj braboj commented Apr 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add lychee.toml with remap rule to strip /tutorial-git/ base path prefix
  • Re-enable link checking in build.yml and deploy.yml
  • Exclude external URLs for deterministic CI runs

Closes #121

Test plan

  • PR build workflow runs lychee successfully
  • No false positives on fragment links (#anchor)
  • No false positives on root-relative links (/tutorial-git/...)

🤖 Generated with Claude Code

braboj and others added 4 commits April 25, 2026 14:18
Add lychee.toml with remap rule to strip /tutorial-git/ prefix,
re-enable link checking in both build and deploy workflows.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Create dist/tutorial-git -> dist/ symlink so root-relative links
like /tutorial-git/introduction/ resolve correctly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@braboj braboj merged commit 5d60ca4 into main Apr 25, 2026
1 check passed
@braboj braboj deleted the fix/lychee-link-checker branch April 25, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix lychee link checker for Astro base path

1 participant