import { defineCollection } from "astro:content"; import { glob } from "astro/loaders"; import { docsSchema } from "@astrojs/starlight/schema"; export const collections = { docs: defineCollection({ loader: glob({ base: ".", pattern: ["**/*.{md,mdx}", "!node_modules/**"], }), schema: docsSchema(), }), };