Skip to content

Commit 3bc35cd

Browse files
authored
Config changes to remove the top nav (#45)
1 parent b9be5df commit 3bc35cd

File tree

1 file changed

+9
-17
lines changed

1 file changed

+9
-17
lines changed

astro.config.mjs

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import { defineConfig, envField } from 'astro/config';
33
import starlight from '@astrojs/starlight';
44
import starlightUtils from '@lorenzo_lewis/starlight-utils';
55
import starlightDocSearch from '@astrojs/starlight-docsearch';
6-
import starlightLinksValidator from 'starlight-links-validator'
7-
import starlightImageZoom from 'starlight-image-zoom'
6+
import starlightLinksValidator from 'starlight-links-validator';
7+
import starlightImageZoom from 'starlight-image-zoom';
88
import sitemap from '@astrojs/sitemap';
9-
import starlightFullViewMode from 'starlight-fullview-mode'
10-
import starlightTocOverviewCustomizer from 'starlight-toc-overview-customizer'
9+
import starlightFullViewMode from 'starlight-fullview-mode';
10+
import starlightTocOverviewCustomizer from 'starlight-toc-overview-customizer';
1111

1212
import markdoc from '@astrojs/markdoc';
1313

@@ -80,9 +80,11 @@ export default defineConfig({
8080
'data-website-id': '3dfbd0ac-9e56-4664-8315-032e17917ab6',
8181
'data-project-name': 'LocalStack',
8282
'data-project-color': '#281763',
83-
'data-project-logo': 'https://avatars.githubusercontent.com/u/28732122?s=280&v=4',
83+
'data-project-logo':
84+
'https://avatars.githubusercontent.com/u/28732122?s=280&v=4',
8485
'data-user-analytics-fingerprint-enabled': 'true',
85-
'data-modal-disclaimer': 'This is a custom LocalStack LLM to help you find the information you need by searching across all LocalStack documentation. Give it a try and let us know what you think!',
86+
'data-modal-disclaimer':
87+
'This is a custom LocalStack LLM to help you find the information you need by searching across all LocalStack documentation. Give it a try and let us know what you think!',
8688
},
8789
},
8890
],
@@ -113,7 +115,7 @@ export default defineConfig({
113115
showCaptions: true,
114116
}),
115117
starlightTocOverviewCustomizer({
116-
overviewTitle: "Back to top",
118+
overviewTitle: 'Back to top',
117119
}),
118120
starlightFullViewMode({
119121
leftSidebarEnabled: false,
@@ -126,9 +128,6 @@ export default defineConfig({
126128
multiSidebar: {
127129
switcherStyle: 'dropdown',
128130
},
129-
navLinks: {
130-
leading: { useSidebarLabelled: 'TopNav' },
131-
},
132131
}),
133132
starlightDocSearch({
134133
appId: 'XBW1JU7CW5',
@@ -137,13 +136,6 @@ export default defineConfig({
137136
}),
138137
],
139138
sidebar: [
140-
{
141-
label: 'TopNav',
142-
items: [
143-
{ label: 'Get Started', link: '/aws/getting-started/quickstart/' },
144-
{ label: 'Local AWS Services', link: '/aws/aws-services/' },
145-
],
146-
},
147139
{
148140
label: 'AWS',
149141
collapsed: true,

0 commit comments

Comments
 (0)