Commit 77fb093
fix: handle bare filename paths in markdown links
Extends normalization to handle all relative path formats:
- "./foo.md" (explicit same directory) -> "../foo"
- "foo.md" (bare filename, same directory) -> "../foo"
- "./guides/foo.md" (explicit subdirectory) -> "../guides/foo"
- "guides/foo.md" (bare subdirectory) -> "../guides/foo"
This ensures all GitHub-compatible relative link formats work correctly
on the website's routing structure.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent c833958 commit 77fb093
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| |||
0 commit comments