From 40e4516943f4d44faa568b1f17ccc5d8cdd802bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20Poduszl=C3=B3?= <14854048+kripod@users.noreply.github.com> Date: Sun, 15 Dec 2024 07:39:17 +0100 Subject: [PATCH] fix(content): missing demo --- src/content.config.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/content.config.ts b/src/content.config.ts index 8320701..bc25d9f 100644 --- a/src/content.config.ts +++ b/src/content.config.ts @@ -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(), });