mvk/astro.config.mjs

44 lines
976 B
JavaScript
Raw Normal View History

2025-07-12 16:00:08 +01:00
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import starlightHeadingBadges from 'starlight-heading-badges'
2025-07-12 16:00:08 +01:00
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
plugins: [starlightHeadingBadges()],
2025-07-13 13:14:36 +01:00
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'
}
}
],
2025-07-12 16:00:08 +01:00
sidebar: [
2025-07-13 13:14:36 +01:00
{
label: 'MVK',
autogenerate: { directory: 'mvk' },
2025-07-13 13:14:36 +01:00
},
2025-07-16 19:18:00 +01:00
{
label: 'Microlearning',
autogenerate: { directory: 'guides' },
2025-07-16 19:18:00 +01:00
},
{
label: 'MVK Templates',
autogenerate: { directory: 'templates' },
},
2025-07-12 16:00:08 +01:00
{
label: 'Reference',
autogenerate: { directory: 'reference' },
},
],
}),
],
});