diff options
Diffstat (limited to 'docs/astro.config.mjs')
-rw-r--r-- | docs/astro.config.mjs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs new file mode 100644 index 0000000..080105b --- /dev/null +++ b/docs/astro.config.mjs @@ -0,0 +1,31 @@ +import { defineConfig } from "astro/config" +import starlight from "@astrojs/starlight" + +const directories = [ + ["Getting Started", "/getting-started"], + ["AGS", "/ags"], + ["Libraries", "/libraries"], +] + +export default defineConfig({ + site: "https://aylur.github.io", + base: "astal", + integrations: [ + starlight({ + title: "Astal", + editLink: { + baseUrl: "https://github.com/Aylur/Astal/tree/main/docs", + }, + social: { + github: "https://github.com/Aylur/Astal", + discord: "https://discord.gg/CXQpHwDuhY", + }, + customCss: ["./src/style.css"], + favicon: "./favicon.ico", + sidebar: directories.map(([label, directory]) => ({ + label, + autogenerate: { directory }, + })), + }), + ], +}) |