Merge branch 'main' into dev, fix guide Collapsible
This commit is contained in:
commit
8c961c729b
9 changed files with 76 additions and 86 deletions
|
|
@ -2,7 +2,7 @@ import { defineCollection, z } from "astro:content";
|
|||
import { glob } from "astro/loaders";
|
||||
|
||||
const guide = defineCollection({
|
||||
loader: glob({ pattern: "**/*.md", base: "src/guide" }),
|
||||
loader: glob({ pattern: "**/*.{md,mdx}", base: "src/guide" }),
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
index: z.number(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue