Skip to content

Commit

Permalink
Fix missing import in i18n collection docs (#2707)
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis authored Dec 16, 2024
1 parent 4fd272b commit 601bdb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/src/content/docs/guides/i18n.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 601bdb5

Please sign in to comment.