// @ts-check import { defineConfig } from 'astro/config'; import starlight from '@astrojs/starlight'; // https://astro.build/config export default defineConfig({ vite: { server: { allowedHosts: true, }, }, integrations: [ starlight({ title: 'Jabali Panel Documentation', description: 'Feature documentation and screenshots for the Jabali hosting panel.', sidebar: [ { label: 'Getting Started', items: [{ label: 'Overview', slug: 'overview' }], }, { label: 'Admin Panel', autogenerate: { directory: 'admin' }, }, { label: 'User Panel', autogenerate: { directory: 'user' }, }, { label: 'Platform', autogenerate: { directory: 'platform' }, }, ], }), ], });