|
| 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 | + integrations: [ |
| 8 | + starlight({ |
| 9 | + title: 'SecretSpec', |
| 10 | + tagline: 'Declarative secrets for development workflows', |
| 11 | + social: [ |
| 12 | + { icon: 'github', label: 'GitHub', href: 'https://github.com/cachix/secretspec' }, |
| 13 | + { icon: 'discord', label: 'Discord', href: 'https://discord.gg/naMgvexb6q' }, |
| 14 | + ], |
| 15 | + sidebar: [ |
| 16 | + { |
| 17 | + label: 'Getting Started', |
| 18 | + items: [ |
| 19 | + { label: 'Introduction', slug: 'introduction' }, |
| 20 | + { label: 'Quick Start', slug: 'quick-start' }, |
| 21 | + { label: 'Installation', slug: 'installation' }, |
| 22 | + ], |
| 23 | + }, |
| 24 | + { |
| 25 | + label: 'Concepts', |
| 26 | + items: [ |
| 27 | + { label: 'Overview', slug: 'concepts/overview' }, |
| 28 | + { label: 'Profiles', slug: 'concepts/profiles' }, |
| 29 | + { label: 'Providers', slug: 'concepts/providers' }, |
| 30 | + { label: 'Configuration Inheritance', slug: 'concepts/inheritance' }, |
| 31 | + ], |
| 32 | + }, |
| 33 | + { |
| 34 | + label: 'Providers', |
| 35 | + items: [ |
| 36 | + { label: 'Keyring', slug: 'providers/keyring' }, |
| 37 | + { label: 'Dotenv', slug: 'providers/dotenv' }, |
| 38 | + { label: 'Environment Variables', slug: 'providers/env' }, |
| 39 | + { label: 'LastPass', slug: 'providers/lastpass' }, |
| 40 | + { label: '1Password', slug: 'providers/1password' }, |
| 41 | + ], |
| 42 | + }, |
| 43 | + { |
| 44 | + label: 'SDK', |
| 45 | + items: [ |
| 46 | + { label: 'Rust SDK', slug: 'sdk/rust' }, |
| 47 | + ], |
| 48 | + }, |
| 49 | + { |
| 50 | + label: 'Reference', |
| 51 | + items: [ |
| 52 | + { label: 'Configuration', slug: 'reference/configuration' }, |
| 53 | + { label: 'CLI Commands', slug: 'reference/cli' }, |
| 54 | + { label: 'Adding Providers', slug: 'reference/adding-providers' }, |
| 55 | + ], |
| 56 | + }, |
| 57 | + ], |
| 58 | + }), |
| 59 | + ], |
| 60 | +}); |
0 commit comments