more docs

This commit is contained in:
Christian Beutel
2024-06-10 21:15:15 +02:00
parent f23eb03eb9
commit 56d5e96069
34 changed files with 3403 additions and 24 deletions

View File

@@ -7,7 +7,7 @@ import svelte from "@astrojs/svelte";
// https://astro.build/config
export default defineConfig({
integrations: [starlight({
title: 'Docs with Tailwind',
title: 'wanderer Documentation',
logo: {
light: '/src/assets/logo_dark_text.svg',
dark: '/src/assets/logo_light_text.svg',
@@ -22,15 +22,53 @@ export default defineConfig({
sidebar: [{
label: 'Getting Started',
items: [
// Each item here is one entry in the navigation menu.
{
label: 'Installation',
link: '/getting-started/installation/'
}]
}, {
label: 'Reference',
},
{
label: 'Configuration',
link: '/getting-started/configuration/'
},
{
label: 'Local development',
link: '/getting-started/local-development/'
}
]
},
{
label: 'Guides',
items: [
{
label: 'Authentication',
link: '/guides/authentication/'
},
{
label: 'Create a trail',
link: '/guides/create-a-trail/'
},
{
label: 'Share trails',
link: '/guides/share-trails/'
},
{
label: 'Lists',
link: '/guides/lists/'
},
{
label: 'Import/Export',
link: '/guides/import-export/'
},
{
label: 'API',
link: '/guides/api/'
},
]
},
{
label: 'API Reference',
autogenerate: {
directory: 'reference'
directory: 'api-reference'
}
}],
customCss: ['./src/custom.css', './src/tailwind.css', '@fontsource/ibm-plex-sans/400.css', '@fontsource/ibm-plex-sans/600.css', '@fontsource/ibm-plex-mono/400.css', '@fontsource/ibm-plex-mono/600.css']