# @gram-lang/docs The Gram documentation site and browser playground: [gram-lang.org](https://gram-lang.org). Built with [Astro](https://astro.build) + [Starlight](https://starlight.astro.build), with a Vue-based playground island. ## Structure ```text src/ ├── components/ # Astro components (homepage, DocsHome, ChangelogPage, Sidebar, overrides) │ └── playground/ # Vue playground: editor, output panes, options ├── content/ │ ├── docs/ # Starlight docs collection (EN at docs/docs/**, FR at docs/fr/docs/**) │ └── blog/ # Blog posts (en/, fr/) ├── data/ # Structured content: homepage copy, terms, blog topics, API reference data ├── layouts/ # Layout.astro — shared shell for non-Starlight pages (home, blog, playground) ├── lib/ # Shared utilities (changelog/release loaders, head scripts, FR/EN resolution) ├── pages/ # Astro routes; fr/ mirrors the English tree └── styles/ # global.css and starlight/layers.css ``` Routing: Starlight docs live under `/docs/**` and `/fr/docs/**` (not at the root) purely via content-collection file layout, so they don't collide with the Astro-native homepage at `/`. ## Commands Run from this directory, or via `turbo`/`bun run --filter=@gram-lang/docs