diff --git a/examples/docs/src/components/SiteSidebar.astro b/examples/docs/src/components/SiteSidebar.astro
index 7279d9aea..30b14621c 100644
--- a/examples/docs/src/components/SiteSidebar.astro
+++ b/examples/docs/src/components/SiteSidebar.astro
@@ -7,7 +7,7 @@ import { sidebar } from '../config.ts';
{sidebar.map(category => (
-
{category.text}
+
{category.children.map(child => (
- {child.text}
diff --git a/examples/docs/src/config.ts b/examples/docs/src/config.ts
index 6b6ce3fdc..96edecaf3 100644
--- a/examples/docs/src/config.ts
+++ b/examples/docs/src/config.ts
@@ -1,8 +1,9 @@
export const sidebar = [
{
- text: 'Introduction',
+ text: 'Introduction',
+ link: '/',
children: [
- { text: 'Welcome', link: '/' },
+ { text: 'Getting Started', link: '/getting-started' },
{ text: 'Example', link: '/example' },
],
},
diff --git a/examples/docs/src/layouts/Main.astro b/examples/docs/src/layouts/Main.astro
index b741098ef..e6f30faca 100644
--- a/examples/docs/src/layouts/Main.astro
+++ b/examples/docs/src/layouts/Main.astro
@@ -17,6 +17,9 @@ editHref = `https://github.com/snowpackjs/astro/tree/main/examples/doc/src/pages
+