🛠️ build(astro): build with astro

This commit is contained in:
Eshan Roy (Eshanized)
2024-06-20 21:57:49 +05:30
parent a48ae18cfb
commit a5ec4bed9c
16 changed files with 206 additions and 77 deletions

27
astro.config.mjs Normal file
View File

@@ -0,0 +1,27 @@
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'My Docs',
social: {
github: 'https://github.com/withastro/starlight',
},
sidebar: [
{
label: 'Guides',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Example Guide', link: '/guides/example/' },
],
},
{
label: 'Reference',
autogenerate: { directory: 'reference' },
},
],
}),
],
});