Skip to content

Commit 601bdb5

Browse files
authored
Fix missing import in i18n collection docs (#2707)
1 parent 4fd272b commit 601bdb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎docs/src/content/docs/guides/i18n.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ You can provide translations for additional languages you support — or overrid
192192

193193
```diff lang="js" ins=/, (i18nLoader|i18nSchema)/
194194
// src/content.config.ts
195+
import { defineCollection } from 'astro:content';
195196
import { docsLoader, i18nLoader } from '@astrojs/starlight/loaders';
196197
import { docsSchema, i18nSchema } from '@astrojs/starlight/schema';
197198

0 commit comments

Comments
 (0)