maven-tiles/docs/astro.config.mjs
Mark Derricutt b1969808c7
Initial Astro Starlight docs
Change-Id: I6bf1cc851ade09f9791aedc162e39b29c966cdc0
2023-11-20 19:25:08 +13:00

41 lines
987 B
JavaScript

import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
site: 'https://repaint-io.github.io',
base: '/maven-tiles',
integrations: [
starlight({
title: 'Tiles - Mixins For Apache Maven',
customCss: [
'./src/styles/custom.css',
],
social: {
github: 'https://github.com/repaint-io/maven-tiles',
},
sidebar: [
{
label: 'Maven Tiles',
items: [
{ label: "About", link: '/introduction/about/'},
{ label: "Using", link: '/introduction/using/'},
{ label: "Writing", link: '/introduction/writing/'}
]
},
// {
// label: 'Guides',
// items: [
// // Each item here is one entry in the navigation menu.
// { label: 'Example Guide', link: '/guides/example/' }
// ],
// }
// {
// label: 'Reference',
// autogenerate: { directory: 'reference' },
// },
],
}),
],
});