Skip to content

Commit

Permalink
fix(content): missing demo
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Dec 15, 2024
1 parent 7a52b2a commit 40e4516
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/content.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import { defineCollection, z } from "astro:content";
const docs = defineCollection({
loader:
// TODO: Use `docsLoader()` from "@astrojs/starlight/loaders"
glob({ pattern: "[^_]*.mdx", base: "./src/data/docs" }),
// https://github.com/withastro/starlight/issues/2698
glob({
pattern: "**/[^_]*.{markdown,mdown,mkdn,mkd,mdwn,md,mdx}",
base: "./src/data/docs",
}),
schema: docsSchema(),
});

Expand Down

0 comments on commit 40e4516

Please sign in to comment.