Initialize starlight with astro framework

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2025-12-07 19:07:57 +08:00
commit 7c79e5cee9
16 changed files with 5518 additions and 0 deletions

7
src/content.config.ts Normal file
View File

@@ -0,0 +1,7 @@
import { defineCollection } from 'astro:content';
import { docsLoader } from '@astrojs/starlight/loaders';
import { docsSchema } from '@astrojs/starlight/schema';
export const collections = {
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
};