From b58a0f724bfb09fa14ba7d8326b4b74362eb4de5 Mon Sep 17 00:00:00 2001 From: Horst Gutmann Date: Mon, 4 Nov 2024 13:54:00 +0100 Subject: [PATCH] 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() }), };