2024-03-03 16:49:15 +00:00
|
|
|
import starlight from "@astrojs/starlight";
|
|
|
|
import starlightGhostCMS from "@matthiesenxyz/starlight-ghostcms";
|
|
|
|
import { defineConfig } from "astro/config";
|
2024-02-20 07:01:54 +00:00
|
|
|
|
|
|
|
// https://astro.build/config
|
|
|
|
export default defineConfig({
|
2024-02-21 13:36:27 +00:00
|
|
|
site: "http://localhost:4321",
|
2024-02-20 07:01:54 +00:00
|
|
|
integrations: [
|
|
|
|
starlight({
|
2024-03-03 16:49:15 +00:00
|
|
|
title: "My Docs",
|
2024-02-21 13:36:27 +00:00
|
|
|
plugins: [
|
|
|
|
starlightGhostCMS({
|
|
|
|
title: "Demo Blog",
|
2024-03-03 16:49:15 +00:00
|
|
|
rssDescription: "Starlight Playground",
|
2024-03-06 05:24:01 +00:00
|
|
|
route: "blog",
|
2024-03-03 16:49:15 +00:00
|
|
|
}),
|
2024-02-21 13:36:27 +00:00
|
|
|
],
|
2024-02-20 07:01:54 +00:00
|
|
|
social: {
|
2024-03-03 16:49:15 +00:00
|
|
|
github: "https://github.com/withastro/starlight",
|
2024-02-20 07:01:54 +00:00
|
|
|
},
|
|
|
|
sidebar: [
|
|
|
|
{
|
2024-03-03 16:49:15 +00:00
|
|
|
label: "Guides",
|
2024-02-20 07:01:54 +00:00
|
|
|
items: [
|
|
|
|
// Each item here is one entry in the navigation menu.
|
2024-03-03 16:49:15 +00:00
|
|
|
{ label: "Example Guide", link: "/guides/example/" },
|
2024-02-20 07:01:54 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2024-03-03 16:49:15 +00:00
|
|
|
label: "Reference",
|
|
|
|
autogenerate: { directory: "reference" },
|
2024-02-20 07:01:54 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
}),
|
|
|
|
],
|
2024-03-03 16:49:15 +00:00
|
|
|
});
|