|
| 1 | +import { defineConfig } from 'astro/config'; |
| 2 | +import starlight from '@astrojs/starlight'; |
| 3 | +import sitemap from '@astrojs/sitemap'; |
| 4 | + |
| 5 | +export default defineConfig({ |
| 6 | + site: 'https://spool.pro', |
| 7 | + outDir: './dist', |
| 8 | + integrations: [ |
| 9 | + starlight({ |
| 10 | + title: 'Spool', |
| 11 | + logo: { |
| 12 | + light: './src/assets/logo-light.svg', |
| 13 | + dark: './src/assets/logo-dark.svg', |
| 14 | + }, |
| 15 | + social: [ |
| 16 | + { icon: 'github', label: 'GitHub', href: 'https://github.com/spool-lab/spool' }, |
| 17 | + { icon: 'x.com', label: 'X', href: 'https://x.com/spoollabs' }, |
| 18 | + { icon: 'discord', label: 'Discord', href: 'https://discord.gg/aqeDxQUs5E' }, |
| 19 | + ], |
| 20 | + customCss: ['./src/styles/starlight-overrides.css'], |
| 21 | + sidebar: [ |
| 22 | + { |
| 23 | + label: 'Getting Started', |
| 24 | + items: [ |
| 25 | + { label: 'Installation', slug: 'docs/installation' }, |
| 26 | + { label: 'Quick Start', slug: 'docs/quick-start' }, |
| 27 | + ], |
| 28 | + }, |
| 29 | + { |
| 30 | + label: 'Guides', |
| 31 | + items: [ |
| 32 | + { label: 'Agent Integration', slug: 'docs/guides/agent-integration' }, |
| 33 | + { label: 'Data Sources', slug: 'docs/guides/data-sources' }, |
| 34 | + ], |
| 35 | + }, |
| 36 | + { |
| 37 | + label: 'Reference', |
| 38 | + items: [ |
| 39 | + { label: 'CLI Commands', slug: 'docs/reference/cli' }, |
| 40 | + { label: 'Configuration', slug: 'docs/reference/configuration' }, |
| 41 | + ], |
| 42 | + }, |
| 43 | + ], |
| 44 | + head: [ |
| 45 | + { |
| 46 | + tag: 'meta', |
| 47 | + attrs: { property: 'og:image', content: 'https://spool.pro/og-image.png' }, |
| 48 | + }, |
| 49 | + ], |
| 50 | + }), |
| 51 | + sitemap(), |
| 52 | + ], |
| 53 | +}); |
0 commit comments