feat: initialize opencode project with Astro and Starlight

- Add package.json for project configuration and dependencies
- Create content configuration for Starlight documentation
- Add example guide and reference markdown files
- Create index page for documentation with navigation and next steps
- Set up TypeScript configuration for the project
This commit is contained in:
xiongxiao
2026-03-18 19:24:11 +08:00
committed by cnb
parent bd1d1d8de7
commit c0d8f4d4e1
20 changed files with 6713 additions and 3 deletions

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() }),
};