Files
jabali-panel/doccs/site/astro.config.mjs
2026-02-06 02:47:44 +00:00

37 lines
754 B
JavaScript

// @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' },
},
],
}),
],
});