1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-30 08:51:19 +01:00

doc/starlight: use symlink for docs path

Co-authored-by: Ann🐸 <git@annsann.eu>

Revert package.json push
This commit is contained in:
Lasse Rosenow 2025-10-08 11:30:01 +02:00
parent d11750cc99
commit bcd9fbe467
No known key found for this signature in database
2 changed files with 4 additions and 5 deletions

View File

@ -1,13 +1,11 @@
import { defineCollection, z } from "astro:content";
import { glob, type Loader } from "astro/loaders";
import { type Loader } from "astro/loaders";
import { docsLoader } from "@astrojs/starlight/loaders";
import { docsSchema } from "@astrojs/starlight/schema";
import { promises as fs } from "node:fs";
export const collections = {
docs: defineCollection({
loader: glob({ pattern: "**/*.(md|mdx)", base: "../guides" }),
schema: docsSchema(),
}),
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
changelog: defineCollection({
loader: changelogLoader(),
schema: z.object({

View File

@ -0,0 +1 @@
../../../guides