astro.config.mjs
1 import { defineConfig } from 'astro/config'; 2 import starlight from '@astrojs/starlight'; 3 import starlightBlog from 'starlight-blog'; 4 5 // https://astro.build/config 6 export default defineConfig({ 7 integrations: [ 8 starlightBlog(), 9 starlight({ 10 components: { 11 MarkdownContent: 'starlight-blog/overrides/MarkdownContent.astro', 12 Sidebar: 'starlight-blog/overrides/Sidebar.astro', 13 ThemeSelect: 'starlight-blog/overrides/ThemeSelect.astro', 14 }, 15 title: 'Akashi Systems', 16 social: { 17 github: 'https://github.com/mvkvc/akashi', 18 }, 19 sidebar: [ 20 { 21 label: 'Guides', 22 items: [ 23 // Each item here is one entry in the navigation menu. 24 { label: 'Example Guide', link: '/guides/example/' }, 25 ], 26 }, 27 { 28 label: 'Reference', 29 autogenerate: { directory: 'reference' }, 30 }, 31 ], 32 }), 33 ], 34 });