Skip to content

Commit

Permalink
fix(docs): Starlight 0.28.3 introduced some changes to the i18n config
Browse files Browse the repository at this point in the history
  • Loading branch information
zerok committed Nov 4, 2024
1 parent 637f005 commit b58a0f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/content/config.ts
Original file line number Diff line number Diff line change
@@ -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() }),
};

0 comments on commit b58a0f7

Please sign in to comment.