diff --git a/docs/src/content/docs/guides/i18n.mdx b/docs/src/content/docs/guides/i18n.mdx index 803d1372ae1..8533c53f97a 100644 --- a/docs/src/content/docs/guides/i18n.mdx +++ b/docs/src/content/docs/guides/i18n.mdx @@ -192,6 +192,7 @@ You can provide translations for additional languages you support — or overrid ```diff lang="js" ins=/, (i18nLoader|i18nSchema)/ // src/content.config.ts + import { defineCollection } from 'astro:content'; import { docsLoader, i18nLoader } from '@astrojs/starlight/loaders'; import { docsSchema, i18nSchema } from '@astrojs/starlight/schema';