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
#1219)

fix(docs): Starlight 0.28.3 introduced some changes to the i18n config
  • Loading branch information
zerok authored Nov 4, 2024
1 parent 637f005 commit cb76741
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 cb76741

Please sign in to comment.