// @ts-check import { defineConfig } from 'astro/config'; import starlight from '@astrojs/starlight'; import starlightThemeObsidian from 'starlight-theme-obsidian' // https://astro.build/config export default defineConfig({ integrations: [ starlight({ plugins: [starlightThemeObsidian()], customCss: [ "./src/styles/custom.css", ], title: 'Hudkit', social: [{ icon: 'github', label: 'Source code', href: 'https://forgejo.perny.dev/perny/hudkit' }], sidebar: [ { label: 'Getting Started', items: [ { label: 'Getting Started', slug: 'getting-started' }, ], }, { label: 'Library', items: [ { label: 'Introduction', slug: 'library/introduction' }, { label: 'Installation', slug: 'library/installation' }, { label: 'Usage', slug: 'library/usage' }, { label: 'Dynamic Content', slug: 'library/dynamic-content' }, { label: 'Offline Mode', slug: 'library/offline' }, ], }, { label: 'Reference', items: [ { label: 'XML Format', slug: 'xml-format' }, ], }, ], }), ], });