|
| 1 | +// @ts-check |
| 2 | +import { defineConfig } from 'astro/config'; |
| 3 | +import starlight from '@astrojs/starlight'; |
| 4 | + |
| 5 | +// https://astro.build/config |
| 6 | +export default defineConfig({ |
| 7 | + site: 'https://bugatti.dev', |
| 8 | + integrations: [ |
| 9 | + starlight({ |
| 10 | + title: 'bugatti', |
| 11 | + social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/codesoda/bugatti-cli' }], |
| 12 | + sidebar: [ |
| 13 | + { label: 'Getting Started', slug: 'getting-started' }, |
| 14 | + { |
| 15 | + label: 'Guides', |
| 16 | + items: [ |
| 17 | + { label: 'Writing Tests', slug: 'guides/writing-tests' }, |
| 18 | + { label: 'Configuration', slug: 'guides/configuration' }, |
| 19 | + { label: 'Commands', slug: 'guides/commands' }, |
| 20 | + { label: 'Includes & Composition', slug: 'guides/includes' }, |
| 21 | + { label: 'Skipping Steps', slug: 'guides/skipping' }, |
| 22 | + { label: 'Checkpoints', slug: 'guides/checkpoints' }, |
| 23 | + { label: 'Test Discovery', slug: 'guides/test-discovery' }, |
| 24 | + { label: 'Per-Test Overrides', slug: 'guides/per-test-overrides' }, |
| 25 | + ], |
| 26 | + }, |
| 27 | + { |
| 28 | + label: 'Reference', |
| 29 | + items: [ |
| 30 | + { label: 'CLI', slug: 'reference/cli' }, |
| 31 | + { label: 'Config File', slug: 'reference/config-file' }, |
| 32 | + { label: 'Test File', slug: 'reference/test-file' }, |
| 33 | + { label: 'Result Contract', slug: 'reference/result-contract' }, |
| 34 | + { label: 'Exit Codes', slug: 'reference/exit-codes' }, |
| 35 | + ], |
| 36 | + }, |
| 37 | + { |
| 38 | + label: 'Examples', |
| 39 | + items: [ |
| 40 | + { label: 'Overview', slug: 'examples' }, |
| 41 | + { label: 'Static HTML', slug: 'examples/static-html' }, |
| 42 | + { label: 'Node + Express', slug: 'examples/node-express' }, |
| 43 | + { label: 'Python + Flask', slug: 'examples/python-flask' }, |
| 44 | + { label: 'Rust CLI', slug: 'examples/rust-cli' }, |
| 45 | + ], |
| 46 | + }, |
| 47 | + ], |
| 48 | + }), |
| 49 | + ], |
| 50 | +}); |
0 commit comments