1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-21 12:33:49 +01:00
RIOT/doc/starlight/src/content.config.ts
AnnsAnn e82ada6358 doc/guide: Introduce a Guide Site
doc/guides: How to Doc

fix: add starlight to base makefile
2025-04-24 12:35:53 +02:00

11 lines
303 B
TypeScript

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