pr_01m47d15m3e54sn21z27rpy5n9/apps/docs/src/content.config.ts
| 1 | import { defineCollection } from 'astro:content'; |
| 2 | import { docsLoader, i18nLoader } from '@astrojs/starlight/loaders'; |
| 3 | import { docsSchema, i18nSchema } from '@astrojs/starlight/schema'; |
| 4 | |
| 5 | export const collections = { |
| 6 | docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }), |
| 7 | // Interface wording: "Edit page" opens the file on g1t, where the source lives. |
| 8 | i18n: defineCollection({ loader: i18nLoader(), schema: i18nSchema() }), |
| 9 | }; |