pr_01m47d15m3e54sn21z27rpy5n9/apps/docs/src/content.config.ts

7 lines269 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Docs as their own app; shared theme package1import { defineCollection } from 'astro:content';
2import { docsLoader } from '@astrojs/starlight/loaders';
3import { docsSchema } from '@astrojs/starlight/schema';
4
5export const collections = {
6 docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
7};