mvk/astro.config.mjs

66 lines
1.8 KiB
JavaScript
Raw Permalink 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',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Minimal Viable Kubernetes', slug: 'mvk/intro' },
2025-07-13 13:14:36 +01:00
],
},
2025-07-12 16:00:08 +01:00
{
2025-07-13 13:14:36 +01:00
label: 'infctl',
2025-07-12 16:00:08 +01:00
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Introduction', slug: 'infctl/intro' },
{ label: 'Quick Start Guide', slug: 'infctl/quick-start' },
{ label: 'Configuration', slug: 'infctl/configuration' },
2025-07-12 16:00:08 +01:00
],
},
2025-07-16 19:18:00 +01:00
{
label: 'Microlearning',
autogenerate: { directory: 'guides' },
// items: [
// { label: 'Local Dev Environment', slug: 'guides/dev-env' },
// { label: 'Create a Local K3d Instance', slug: 'guides/local-k3d' },
// { label: 'Initial Pipeline Run', slug: 'guides/infctl-first-run' },
// { label: 'Create a vagrant 3 node cluster', slug: 'guides/local-vagrant-cluster' },
// { label: 'Add Longhorn Storage', slug: 'guides/local-vagrant-cluster-storage' },
// { label: 'Add Ingress', slug: 'guides/local-vagrant-cluster-ingress' },
// ],
2025-07-16 19:18:00 +01:00
},
2025-07-12 16:00:08 +01:00
{
label: 'Reference',
autogenerate: { directory: 'reference' },
},
],
}),
],
});