import { defineConfig } from 'vitepress' export default defineConfig({ base: '/', title: 'hatk', description: 'Build AT Protocol applications with typed XRPC endpoints.', themeConfig: { nav: [ { text: 'Guide', link: '/getting-started/quickstart' }, { text: 'Frontend', link: '/frontend/setup' }, { text: 'CLI', link: '/cli/' }, { text: 'API', link: '/api/' }, { text: 'Showcase', link: '/showcase' }, ], sidebar: [ { text: 'Getting Started', items: [ { text: 'Quickstart', link: '/getting-started/quickstart' }, { text: 'Project Structure', link: '/getting-started/project-structure' }, { text: 'Configuration', link: '/getting-started/configuration' }, ], }, { text: 'Guides', items: [ { text: 'Feeds', link: '/guides/feeds' }, { text: 'XRPC Handlers', link: '/guides/xrpc-handlers' }, { text: 'Auth & OAuth', link: '/guides/auth' }, { text: 'Seeds', link: '/guides/seeds' }, { text: 'Labels', link: '/guides/labels' }, { text: 'OpenGraph', link: '/guides/opengraph' }, { text: 'Hooks', link: '/guides/hooks' }, { text: 'Permissioned Spaces', link: '/guides/spaces' }, ], }, { text: 'Frontend', items: [ { text: 'SvelteKit Setup', link: '/frontend/setup' }, { text: 'Data Loading', link: '/frontend/data-loading' }, { text: 'Mutations', link: '/frontend/mutations' }, ], }, { text: 'CLI Reference', items: [ { text: 'Overview', link: '/cli/' }, { text: 'Scaffolding', link: '/cli/scaffold' }, { text: 'Development', link: '/cli/development' }, { text: 'Testing', link: '/cli/testing' }, { text: 'Build & Deploy', link: '/cli/build' }, ], }, { text: 'API Reference', items: [ { text: 'Overview', link: '/api/' }, { text: 'Records', link: '/api/records' }, { text: 'Feeds', link: '/api/feeds' }, { text: 'Search', link: '/api/search' }, { text: 'Blobs', link: '/api/blobs' }, { text: 'Preferences', link: '/api/preferences' }, { text: 'Labels', link: '/api/labels' }, ], }, ], socialLinks: [{ icon: 'github', link: 'https://github.com/bigmoves/hatk' }], }, })