wry-docs/astro.config.mjs
2026-06-06 23:08:48 -04:00

31 lines
850 B
JavaScript

import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
export default defineConfig({
integrations: [
starlight({
title: "Wry Config Docs",
description: "Generated documentation for the Wry TOML configuration format.",
customCss: ["./src/styles/custom.css"],
sidebar: [
{
label: "Start",
items: [
{ label: "Overview", slug: "" },
{ label: "Raw Generated Specs", slug: "reference/raw-specs" }
]
},
{
label: "Reference",
items: [
{ label: "Top-Level Config", slug: "reference/config" },
{
label: "Configuration Types",
items: [{ autogenerate: { directory: "reference/types" } }]
}
]
}
]
})
]
});