import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';

export default defineConfig({
  site: 'https://walle.sh',
  integrations: [
    starlight({
      title: 'Wall-E',
      description: 'Your personal digital twin — documentation',
      sidebar: [
        {
          label: 'Getting Started',
          autogenerate: { directory: 'guides' },
        },
        {
          label: 'Reference',
          items: [
            { label: 'Skills', link: '/skills/' },
            { label: 'API', link: '/api/' },
          ],
        },
      ],
    }),
  ],
});
