// SPDX-FileCopyrightText: 2025 Ruby Iris Juric // // SPDX-License-Identifier: 0BSD // @ts-check import { defineConfig } from "astro/config"; import starlight from "@astrojs/starlight"; import catppuccin from "@catppuccin/starlight"; import shellSession from "@robot-inventor/shell-session-syntax"; // https://astro.build/config export default defineConfig({ site: "https://gleam2nix.foxgirl.engineering", integrations: [ starlight({ title: "gleam2nix", social: [ { icon: "seti:git", label: "source code", href: "https://git.isincredibly.gay/srxl/gleam2nix", }, ], sidebar: [ { label: "guides", autogenerate: { directory: "guides" }, }, { label: "reference", items: [ "reference/gleam2nix", "reference/buildgleamapplication", "reference/buildgleam", { slug: "reference/gleam-tool", badge: { text: "internal", variant: "danger", }, }, ], }, ], plugins: [ catppuccin({ dark: { flavor: "frappe", accent: "pink" }, light: { flavor: "latte", accent: "pink" }, }), ], expressiveCode: { shiki: { langs: [shellSession], }, themes: ["catppuccin-frappe", "catppuccin-latte"], }, }), ], });