Files
sharp/docs/src/content.config.ts
Lovell Fuller ecfc77c185 Docs: split changelog into per-release files
Use these as the body for (future) GitHub releases
2025-07-15 17:21:09 +01:00

11 lines
494 B
TypeScript

import { defineCollection } from 'astro:content';
import { docsLoader } from '@astrojs/starlight/loaders';
import { docsSchema } from '@astrojs/starlight/schema';
import { autoSidebarLoader } from 'starlight-auto-sidebar/loader'
import { autoSidebarSchema } from 'starlight-auto-sidebar/schema'
export const collections = {
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
autoSidebar: defineCollection({ loader: autoSidebarLoader(), schema: autoSidebarSchema() })
};