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
6 changes: 6 additions & 0 deletions web/sites/guides/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ export default defineConfig({
// documented Phase 0 URLs are redirected.
'/v4-0-0-snapshot/cli-reference': '/v4-0-0-snapshot/command-line-tools/',
'/v4-0-0-snapshot/cli-reference/info': '/v4-0-0-snapshot/command-line-tools/',
// Astro/Starlight slugs the dotted filename `3.0.0-config-migration.md`
// down to `300-config-migration` (github-slugger strips dots). The file
// was renamed to `3-0-0-config-migration.md` so the URL matches every
// other doc in the tree; this redirect preserves the original ugly slug
// for any external bookmarks accumulated while it was live.
'/v3-0-0/upgrading/300-config-migration': '/v3-0-0/upgrading/3-0-0-config-migration/',
},
integrations: [
starlight({
Expand Down
8 changes: 7 additions & 1 deletion web/sites/guides/src/sidebars/v3-0-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@
},
{
"label": "Upgrading",
"link": "/v3-0-0/introduction/upgrading/"
"link": "/v3-0-0/introduction/upgrading/",
"items": [
{
"label": "Config Directory Migration (3.0.0)",
"link": "/v3-0-0/upgrading/3-0-0-config-migration/"
}
]
},
{
"label": "Screencasts",
Expand Down