|
| 1 | +// @ts-check |
| 2 | + |
| 3 | +import starlight from "@astrojs/starlight"; |
| 4 | +import { defineConfig } from "astro/config"; |
| 5 | + |
| 6 | +// https://astro.build/config |
| 7 | +export default defineConfig({ |
| 8 | + site: "https://docs.albertplus.com", |
| 9 | + integrations: [ |
| 10 | + starlight({ |
| 11 | + title: "AlbertPlus Docs", |
| 12 | + social: [ |
| 13 | + { |
| 14 | + icon: "github", |
| 15 | + label: "GitHub", |
| 16 | + href: "https://github.com/TechAtNYU/AlbertPlus", |
| 17 | + }, |
| 18 | + { |
| 19 | + icon: "discord", |
| 20 | + label: "Discord", |
| 21 | + href: "https://discord.gg/z8p4Qtjatw", |
| 22 | + }, |
| 23 | + ], |
| 24 | + editLink: { |
| 25 | + baseUrl: "https://github.com/TechAtNYU/AlbertPlus/edit/main/apps/docs", |
| 26 | + }, |
| 27 | + sidebar: [ |
| 28 | + { label: "Overview", slug: "overview" }, |
| 29 | + { |
| 30 | + label: "Getting Started", |
| 31 | + items: [ |
| 32 | + { label: "Quick Start", slug: "getting-started/quick-start" }, |
| 33 | + { |
| 34 | + label: "Environment Variables", |
| 35 | + slug: "getting-started/environment-variables", |
| 36 | + }, |
| 37 | + { label: "Tech Stack", slug: "getting-started/tech-stack" }, |
| 38 | + ], |
| 39 | + }, |
| 40 | + { |
| 41 | + label: "Architecture", |
| 42 | + items: [ |
| 43 | + { label: "Overview", slug: "architecture/overview" }, |
| 44 | + { label: "Monorepo Structure", slug: "architecture/monorepo" }, |
| 45 | + { label: "Data Flow", slug: "architecture/data-flow" }, |
| 46 | + { label: "Authentication", slug: "architecture/authentication" }, |
| 47 | + ], |
| 48 | + }, |
| 49 | + { |
| 50 | + label: "Modules", |
| 51 | + items: [ |
| 52 | + { label: "Web App", slug: "modules/web-app" }, |
| 53 | + { |
| 54 | + label: "Browser Extension", |
| 55 | + slug: "modules/browser-extension", |
| 56 | + }, |
| 57 | + { label: "Scraper", slug: "modules/scraper" }, |
| 58 | + { label: "Convex", slug: "modules/convex" }, |
| 59 | + { label: "Documentation", slug: "modules/documentation" }, |
| 60 | + ], |
| 61 | + }, |
| 62 | + ], |
| 63 | + }), |
| 64 | + ], |
| 65 | +}); |
0 commit comments