From cb767419bbfc2d2408d5c7125c3424ed55568627 Mon Sep 17 00:00:00 2001 From: Horst Gutmann Date: Mon, 4 Nov 2024 14:03:21 +0100 Subject: [PATCH] fix(docs): starlight 0.28.3 introduced some changes to the i18n config (#1219) fix(docs): Starlight 0.28.3 introduced some changes to the i18n config --- docs/src/content/config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/src/content/config.ts b/docs/src/content/config.ts index 31b747625..02ea2ac07 100644 --- a/docs/src/content/config.ts +++ b/docs/src/content/config.ts @@ -1,6 +1,7 @@ import { defineCollection } from 'astro:content'; -import { docsSchema } from '@astrojs/starlight/schema'; +import { docsSchema, i18nSchema } from '@astrojs/starlight/schema'; export const collections = { docs: defineCollection({ schema: docsSchema() }), + i18n: defineCollection({ type: 'data', schema: i18nSchema() }), };