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:
parent
d11750cc99
commit
bcd9fbe467
@ -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({
|
||||
|
||||
1
doc/starlight/src/content/docs
Symbolic link
1
doc/starlight/src/content/docs
Symbolic link
@ -0,0 +1 @@
|
||||
../../../guides
|
||||
Loading…
x
Reference in New Issue
Block a user