Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

9 linesCodeBlameRaw
1import { defineCollection } from "astro:content";
2import { docsLoader, i18nLoader } from "@astrojs/starlight/loaders";
3import { docsSchema, i18nSchema } from "@astrojs/starlight/schema";
4
5export 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};