- 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
8 lines
269 B
TypeScript
8 lines
269 B
TypeScript
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() }),
|
|
};
|