|
| 1 | +import { defineConfig } from 'astro/config'; |
| 2 | +import starlight from '@astrojs/starlight'; |
| 3 | + |
| 4 | +// https://astro.build/config |
| 5 | +export default defineConfig({ |
| 6 | + site: 'https://commandkit.underctrl.io', |
| 7 | + integrations: [ |
| 8 | + starlight({ |
| 9 | + title: '', |
| 10 | + favicon: '/favicon.png', |
| 11 | + logo: { |
| 12 | + dark: './src/assets/nav_logo.png', |
| 13 | + light: './src/assets/nav_logo_light.png', |
| 14 | + }, |
| 15 | + editLink: { |
| 16 | + baseUrl: 'https://github.com/underctrl-io/commandkit-docs/edit/master/', |
| 17 | + }, |
| 18 | + customCss: ['./src/styles/landing.css', './src/styles/custom.css'], |
| 19 | + lastUpdated: true, |
| 20 | + social: { |
| 21 | + github: 'https://github.com/underctrl-io/commandkit', |
| 22 | + discord: 'https://discord.underctrl.io', |
| 23 | + youtube: 'https://youtube.com/@UnderCtrl', |
| 24 | + }, |
| 25 | + sidebar: [ |
| 26 | + { label: 'Overview', link: '/overview' }, |
| 27 | + { |
| 28 | + label: 'Guides', |
| 29 | + items: [ |
| 30 | + { label: 'Installation', link: '/guides/installation' }, |
| 31 | + { label: 'CommandKit Setup', link: '/guides/commandkit-setup' }, |
| 32 | + { label: 'Commands Setup', link: '/guides/command-file-setup' }, |
| 33 | + { label: 'Events Setup', link: '/guides/event-file-setup' }, |
| 34 | + { label: 'Validations Setup', link: '/guides/validation-file-setup' }, |
| 35 | + { |
| 36 | + label: 'Migrate from DJS-Commander', |
| 37 | + link: '/guides/migrating-from-djs-commander', |
| 38 | + }, |
| 39 | + ], |
| 40 | + }, |
| 41 | + ], |
| 42 | + }), |
| 43 | + ], |
| 44 | + |
| 45 | + // Process images with sharp: https://docs.astro.build/en/guides/assets/#using-sharp |
| 46 | + image: { service: { entrypoint: 'astro/assets/services/sharp' } }, |
| 47 | +}); |
0 commit comments