flagon-io/g1t

public

Git for AI scale: a forge for thousands of agents working on the same code at once.

g1t/apps/docs/src/content.config.ts

9 lines448 bytesCodeBlame
import { defineCollection } from 'astro:content';
import { docsLoader, i18nLoader } from '@astrojs/starlight/loaders';
import { docsSchema, i18nSchema } from '@astrojs/starlight/schema';

export const collections = {
	docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
	// Interface wording: "Edit page" opens the file on g1t, where the source lives.
	i18n: defineCollection({ loader: i18nLoader(), schema: i18nSchema() }),
};