Commit a434a64
docs(docs): fix 404 on v3 config-migration page from v4 upgrade guide (#2429)
The link from /v4-0-0-snapshot/upgrading/2x-to-3x/ to the v3 Config
Directory Migration page 404'd because the file was named
3.0.0-config-migration.md and Astro's slug generator strips dots
entirely rather than converting them to dashes, producing the
unintuitive URL /v3-0-0/upgrading/300-config-migration/. PR #2181
introduced the link assuming dots-to-dashes — that assumption was
incorrect.
- Rename file to 3-0-0-config-migration.md so the URL matches every
other doc filename in the tree and the existing link works as written.
- Add redirect from /300-config-migration/ to preserve any external
bookmarks accumulated while the dotted-slug URL was live.
- Add a sidebar entry under INTRODUCTION > Upgrading; the page was
orphaned from v3-0-0.json entirely.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b16da86 commit a434a64
3 files changed
Lines changed: 13 additions & 1 deletion
File tree
- web/sites/guides
- src
- content/docs/v3-0-0/upgrading
- sidebars
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
81 | 87 | | |
82 | 88 | | |
83 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
0 commit comments