Skip to content

Commit 4100eb9

Browse files
committed
Fix the nav order and labels on top level
1 parent 9d45b2c commit 4100eb9

File tree

10 files changed

+64
-16
lines changed

10 files changed

+64
-16
lines changed

astro.config.mjs

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,54 @@ export default defineConfig({
2525
sidebar: [
2626
{
2727
label: 'AWS',
28-
autogenerate: { directory: '/aws' },
28+
collapsed: true,
29+
items: [
30+
{
31+
label: 'Welcome',
32+
slug: 'aws',
33+
},
34+
{
35+
label: 'Getting Started',
36+
autogenerate: { directory: '/aws/getting-started' },
37+
collapsed: true,
38+
},
39+
{
40+
label: 'Local AWS Services',
41+
slug: 'aws/aws-services',
42+
},
43+
{
44+
label: 'Sample Apps',
45+
slug: 'aws/sample-apps',
46+
},
47+
{
48+
label: 'Capabilities',
49+
autogenerate: { directory: '/aws/capabilities' },
50+
collapsed: true,
51+
},
52+
{
53+
label: 'Tooling',
54+
slug: 'aws/tooling',
55+
},
56+
{
57+
label: 'Integrations',
58+
autogenerate: { directory: '/aws/integrations' },
59+
collapsed: true,
60+
},
61+
{
62+
label: 'Enterprise',
63+
autogenerate: { directory: '/aws/pro' },
64+
collapsed: true,
65+
},
66+
{
67+
label: 'Tutorials',
68+
slug: 'aws/tutorials',
69+
},
70+
],
2971
},
3072
{
3173
label: 'Snowflake',
3274
autogenerate: { directory: '/snowflake' },
75+
collapsed: true,
3376
},
3477
],
3578
}),

src/content/docs/aws/aws-services.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
2-
title: AWS Services
2+
title: Local AWS Services
33
description: This is a dummy description
44
template: doc
5-
nav: 3
5+
sidebar:
6+
order: 3
67
---
78

89
# AWS Services

src/content/docs/aws/capabilities/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
title: Capabilities
33
description: This is a dummy description
44
template: doc
5-
nav: 1
5+
sidebar:
6+
order: 5
67
---
78

89
# Capabilities

src/content/docs/aws/getting-started/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
title: Getting Started
33
description: This is a dummy description
44
template: doc
5-
6-
nav: 1
5+
sidebar:
6+
order: 2
77
---
88

99
[LocalStack](https://localstack.cloud) is a cloud service emulator that runs in a single container on your laptop or in your CI environment.

src/content/docs/aws/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
title: Welcome to LocalStack Docs
33
description: Get started with LocalStack Docs.
44
template: doc
5-
nav: 1
6-
label: Welcome
5+
sidebar:
6+
label: Welcome
7+
order: 1
78
---
89

910
# Welcome to LocalStack Docs!

src/content/docs/aws/integrations/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
title: Integrations
33
description: Use your favorite cloud development tools with LocalStack.
44
template: doc
5-
6-
nav: 1
5+
sidebar:
6+
order: 7
77
---
88

99
LocalStack supports a wide range of tools from the cloud development ecosystem.

src/content/docs/aws/pro/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
title: LocalStack Enterprise
33
description: This is a dummy description
44
template: doc
5-
6-
nav: 1
5+
sidebar:
6+
order: 8
77
---
88

99
# LocalStack Enterprise

src/content/docs/aws/sample-apps.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
title: Sample apps
33
description: This is a dummy description
44
template: doc
5-
nav: 4
5+
sidebar:
6+
order: 4
67
---
78

89
# Applications

src/content/docs/aws/tooling/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
title: LocalStack Tools
33
description: Increase your development efficiency with LocalStack Cloud Developer Tools.
44
template: doc
5-
6-
nav: 1
5+
sidebar:
6+
order: 6
77
---
88

99
The core of LocalStack is the [cloud service emulation]({{< ref "aws" >}}).

src/content/docs/aws/tutorials.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
title: Tutorials
33
description: This is a dummy description
44
template: doc
5-
nav: 5
5+
sidebar:
6+
order: 9
67
---
78

89
# Tutorials

0 commit comments

Comments
 (0)