Skip to content

Commit

Permalink
deps: update starlight part of config file (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoblersTune authored Jan 22, 2025
1 parent 88091da commit b493ded
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/content.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { defineCollection } from 'astro:content'
import { docsLoader } from '@astrojs/starlight/loaders'
import { docsSchema, i18nSchema } from '@astrojs/starlight/schema'

export const collections = {
docs: defineCollection({ schema: docsSchema() }),
i18n: defineCollection({ type: 'data', schema: i18nSchema() }),
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
i18n: defineCollection({ type: 'data', schema: i18nSchema() })
}

0 comments on commit b493ded

Please sign in to comment.