mirror of
https://github.com/gogrlx/docs.grlx.dev.git
synced 2026-04-02 03:08:53 -07:00
- Install starlight-versions plugin for version dropdown UI - Archive current stable docs as v1.0.5 (slug: 1.0) - Current/latest version labeled v2.0-alpha - Add new alpha feature docs: SSH, cohorts, RBAC, audit logging, sprouts - Update glossary with cross-references to new pages - Update sidebar with Security section and new pages - Upgrade to Astro 6, Starlight 0.38, starlight-tailwind 5, ESLint 10 - Migrate content config to src/content.config.ts with loaders - Fix all prettier formatting issues
10 lines
393 B
TypeScript
10 lines
393 B
TypeScript
import { docsLoader } from '@astrojs/starlight/loaders'
|
|
import { docsSchema } from '@astrojs/starlight/schema'
|
|
import { defineCollection } from 'astro:content'
|
|
import { docsVersionsLoader } from 'starlight-versions/loader'
|
|
|
|
export const collections = {
|
|
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
|
|
versions: defineCollection({ loader: docsVersionsLoader() }),
|
|
}
|