adds docs Dockerfile

This commit is contained in:
Christian Beutel
2024-06-11 00:05:59 +02:00
parent b5902204f8
commit 0e1fdfcf42
4 changed files with 231 additions and 51 deletions

View File

@@ -1,9 +1,10 @@
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import tailwind from '@astrojs/tailwind';
import svelte from "@astrojs/svelte";
import node from "@astrojs/node";
// https://astro.build/config
export default defineConfig({
integrations: [starlight({
@@ -17,59 +18,45 @@ export default defineConfig({
github: 'https://github.com/flomp/wanderer'
},
components: {
Footer: './src/components/Footer.astro',
Footer: './src/components/Footer.astro'
},
sidebar: [{
label: 'Getting Started',
items: [
{
label: 'Installation',
link: '/getting-started/installation/'
},
{
label: 'Configuration',
link: '/getting-started/configuration/'
},
{
label: 'Local development',
link: '/getting-started/local-development/'
},
{
label: 'Changelog',
link: '/getting-started/changelog/'
},
]
},
{
items: [{
label: 'Installation',
link: '/getting-started/installation/'
}, {
label: 'Configuration',
link: '/getting-started/configuration/'
}, {
label: 'Local development',
link: '/getting-started/local-development/'
}, {
label: 'Changelog',
link: '/getting-started/changelog/'
}]
}, {
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/'
},
]
},
{
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: 'api-reference'
@@ -78,5 +65,9 @@ export default defineConfig({
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']
}), tailwind({
applyBaseStyles: false
}), svelte()]
})],
output: "server",
adapter: node({
mode: "standalone"
})
});