From 2aa7e8a5af5f7a26b9bc489ac47fff9649aec9f6 Mon Sep 17 00:00:00 2001 From: = Date: Tue, 5 Dec 2023 09:03:44 +0000 Subject: [PATCH 1/2] Add 4.0 announcement banner --- src/content/docs/en/getting-started.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/content/docs/en/getting-started.mdx b/src/content/docs/en/getting-started.mdx index 30dcbefacc23b..dbf9c15b21eb7 100644 --- a/src/content/docs/en/getting-started.mdx +++ b/src/content/docs/en/getting-started.mdx @@ -5,10 +5,10 @@ i18nReady: true tableOfContents: false editUrl: false next: false -# banner: -# content: | -# Astro version 4.0 is here! -# Are you ready to upgrade? Read our upgrade guide. +banner: + content: | + Astro version 4.0 is here! + Are you ready to upgrade? Read our upgrade guide. hero: title: Astro Docs tagline: Guides, resources, and API references to help you build with Astro. From aaa078abded414b460c0e91029b4d661602e2b0f Mon Sep 17 00:00:00 2001 From: = Date: Tue, 5 Dec 2023 09:07:10 +0000 Subject: [PATCH 2/2] Update sidebar for 4.0 --- src/i18n/en/nav.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n/en/nav.ts b/src/i18n/en/nav.ts index 3a534bf6a372e..e5f2fb93b556c 100644 --- a/src/i18n/en/nav.ts +++ b/src/i18n/en/nav.ts @@ -12,7 +12,7 @@ export default [ { text: 'Getting Started', slug: 'getting-started', key: 'getting-started' }, { text: 'Installation', slug: 'install/auto', key: 'install' }, { text: 'Editor Setup', slug: 'editor-setup', key: 'editor-setup' }, - { text: 'Upgrade to v3', slug: 'guides/upgrade-to/v3', key: 'guides/upgrade-to/v3' }, + { text: 'Upgrade to v4', slug: 'guides/upgrade-to/v4', key: 'guides/upgrade-to/v4' }, { text: 'Core Concepts', header: true, type: 'learn', key: 'coreConcepts' }, { text: 'Why Astro', slug: 'concepts/why-astro', key: 'concepts/why-astro' },