First version

This commit is contained in:
Christoph Haas 2024-10-21 00:51:17 +02:00
parent df84b9c4a2
commit 4d9df2bc30
15 changed files with 377 additions and 25 deletions

View file

@ -1,21 +1,20 @@
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import sitemap from '@astrojs/sitemap';
// https://astro.build/config
export default defineConfig({
site: 'https://workaround.org',
integrations: [
starlight({
title: 'My Docs',
social: {
github: 'https://github.com/withastro/starlight',
},
title: 'ISPmail Guide',
sidebar: [
{
label: 'Guides',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Example Guide', slug: 'guides/example' },
{ label: 'Start Here', slug: 'ispmail-bookworm' },
],
},
{
@ -23,6 +22,12 @@ export default defineConfig({
autogenerate: { directory: 'reference' },
},
],
logo: {
light: './src/assets/logo.svg',
dark: './src/assets/logo-dark.svg',
replacesTitle: true,
},
}),
sitemap()
],
});