// @ts-check import { defineConfig } from 'astro/config'; import starlight from '@astrojs/starlight'; import starlightHeadingBadges from 'starlight-heading-badges' // https://astro.build/config export default defineConfig({ integrations: [ starlight({ plugins: [starlightHeadingBadges()], title: 'MinimalViableK8s', social: [{ icon: 'github', label: 'GitHub', href: 'https://codeberg.org/headshed/infctl-cli' }], head: [ { tag: 'script', attrs: { defer: true, 'data-domain': 'mvk.headshed.dev', src: 'https://stats.headshed.dev/js/script.js' } } ], sidebar: [ { label: 'MVK', autogenerate: { directory: 'mvk' }, }, { label: 'Microlearning', autogenerate: { directory: 'guides' }, }, { label: 'MVK Templates', autogenerate: { directory: 'templates' }, }, { label: 'Reference', autogenerate: { directory: 'reference' }, }, ], }), ], });