aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/content.config.ts
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-06-18 23:19:10 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-06-18 23:19:10 +0900
commit5bc1e63756cae6974430f1e6cf1a4d5e88f5b9cc (patch)
tree46ab1a541403d680fe1719da941d7702159fd453 /src/content.config.ts
Initial commit
Diffstat (limited to 'src/content.config.ts')
-rw-r--r--src/content.config.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/content.config.ts b/src/content.config.ts
new file mode 100644
index 0000000..7fbcf2c
--- /dev/null
+++ b/src/content.config.ts
@@ -0,0 +1,7 @@
+import { defineCollection } from "astro:content";
+import { docsLoader } from "@astrojs/starlight/loaders";
+import { docsSchema } from "@astrojs/starlight/schema";
+
+export const collections = {
+ docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
+};