import { defineConfig } from "vitepress" export default defineConfig({ title: "AGS", description: "Documentation website of AGS", outDir: "./dist", base: "/ags/", lastUpdated: true, head: [ ["link", { rel: "icon", href: "https://aylur.github.io/astal/icon.svg" }], ], markdown: { languageAlias: { meson: "ruby", blp: "c", // TODO: find a better alternative }, }, themeConfig: { outline: "deep", footer: { message: "Released under the GPL v3.0 License", copyright: "Logo is created by VDawg", }, nav: [ { text: "Guide", link: "/guide/quick-start", activeMatch: "/guide/", }, { text: "References", items: [ { text: "Gjs Guide", link: "https://gjs.guide/", }, { text: "Gjs References", link: "https://gjs-docs.gnome.org/", }, { text: "Astal", link: "https://aylur.github.io/astal/", }, { text: "Gnim", link: "https://aylur.github.io/gnim/", }, ], }, ], sidebar: [ { text: "Installation", link: "/guide/install" }, { text: "Quick Start", link: "/guide/quick-start" }, { text: "First Widgets", link: "/guide/first-widgets" }, { text: "Theming", link: "/guide/theming" }, { text: "App and CLI", link: "/guide/app-cli" }, { text: "Utilities", link: "/guide/utilities" }, { text: "Resources", link: "/guide/resources" }, { text: "Intrinsics", link: "/guide/intrinsics" }, { text: "FAQ", link: "/guide/faq" }, { text: "Examples", link: "/guide/examples" }, { text: "Nix", link: "/guide/nix" }, { text: "Migration Guide", link: "/guide/migration-guide" }, ], socialLinks: [ { icon: "github", link: "https://github.com/aylur/ags" }, { icon: "discord", link: "https://discord.gg/CXQpHwDuhY" }, { link: "https://ko-fi.com/aylur", icon: { svg: ``, }, }, ], editLink: { pattern: "https://github.com/aylur/ags/edit/main/docs/:path", text: "Edit this page on GitHub", }, lastUpdated: { text: "Last updated", }, search: { provider: "local", }, }, })