Initial Astro Starlight docs

Change-Id: I6bf1cc851ade09f9791aedc162e39b29c966cdc0
This commit is contained in:
Mark Derricutt
2023-10-16 21:02:44 +13:00
committed by Mark Derricutt
parent ef05aa7efe
commit b1969808c7
16 changed files with 4699 additions and 0 deletions

40
docs/astro.config.mjs Normal file
View File

@@ -0,0 +1,40 @@
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' },
// },
],
}),
],
});