We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4a5fd9 commit 4cf90b7Copy full SHA for 4cf90b7
1 file changed
src/content.config.ts
@@ -0,0 +1,7 @@
1
+import { defineCollection } from 'astro:content';
2
+import { docsLoader } from '@astrojs/starlight/loaders';
3
+import { docsSchema } from '@astrojs/starlight/schema';
4
+
5
+export const collections = {
6
+ docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
7
+};
0 commit comments