diff --git a/docs/package.json b/docs/package.json index 78b8f6e9..9ede0d19 100644 --- a/docs/package.json +++ b/docs/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.7.1", - "@astrojs/starlight": "^0.21.4", - "sharp": "^0.32.5" + "@astrojs/starlight": "^0.23.1", + "astro": "^4.9.1", + "sharp": "^0.33.1" } } diff --git a/docs/src/content/config.ts b/docs/src/content/config.ts index 9df91b60..5c502c0f 100644 --- a/docs/src/content/config.ts +++ b/docs/src/content/config.ts @@ -3,5 +3,6 @@ import { docsSchema, i18nSchema } from '@astrojs/starlight/schema'; export const collections = { docs: defineCollection({ schema: docsSchema() }), + // https://starlight.astro.build/guides/i18n/#translate-starlights-ui i18n: defineCollection({ type: 'data', schema: i18nSchema() }), };