Skip to content

Commit ecd144b

Browse files
committed
Explicitly configure the guides sidebar since starlight can't autogenerate with the doc-name/index.mdx pattern
1 parent 84a5430 commit ecd144b

1 file changed

Lines changed: 37 additions & 1 deletion

File tree

astro.config.ts

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,40 @@ export default defineConfig({
3737
},
3838
{
3939
label: 'Guides',
40-
autogenerate: { directory: 'guides' },
40+
items: [
41+
{
42+
label: 'Quick Start',
43+
link: '/guides/quick-start',
44+
},
45+
{
46+
label: 'Debugging with Nebula SSH commands',
47+
link: '/guides/debug-ssh-commands',
48+
},
49+
{
50+
label: 'Rotating a Certificate Authority',
51+
link: '/guides/rotating-certificate-authority',
52+
},
53+
{
54+
label: 'Signing a Certificate Without a Private Key',
55+
link: '/guides/sign-certificates-with-public-keys',
56+
},
57+
{
58+
label: 'Extend network access beyond overlay hosts',
59+
link: '/guides/unsafe_routes',
60+
},
61+
{
62+
label: 'Upgrading a Nebula network to IPv6 overlay addresses',
63+
link: '/guides/upgrade-to-cert-v2-and-ipv6',
64+
},
65+
{
66+
label: 'Using Experimental Lighthouse DNS with Nebula',
67+
link: '/guides/using-lighthouse-dns',
68+
},
69+
{
70+
label: 'Viewing Nebula Logs',
71+
link: '/guides/viewing-nebula-logs',
72+
},
73+
],
4174
collapsed: true,
4275
},
4376
{
@@ -54,6 +87,9 @@ export default defineConfig({
5487
}),
5588
react(),
5689
],
90+
server: {
91+
port: 3000,
92+
},
5793
vite: {
5894
resolve: {
5995
alias: {

0 commit comments

Comments
 (0)