mirror of
https://github.com/lovell/sharp.git
synced 2026-02-05 14:16:17 +01:00
11 lines
494 B
TypeScript
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() })
|
|
};
|