mirror of
https://github.com/rolepass/rolepass-documentation.git
synced 2026-09-02 10:41:51 +02:00
Source code for https://rolepass.dev
- MDX 85.3%
- JavaScript 6.1%
- CSS 5.8%
- Astro 1.9%
- TypeScript 0.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| public | ||
| src | ||
| .gitignore | ||
| AGENTS.md | ||
| astro.config.mjs | ||
| bun.lock | ||
| CLAUDE.md | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| wrangler.jsonc | ||
RolePass Documentation
This repository contains the source for rolepass.dev, the documentation site for RolePass.
The site is built with Astro and Starlight.
Development
Install bun, then:
| Command | Action |
|---|---|
bun install |
Install dependencies |
bun dev |
Start the local dev server at localhost:4321 |
bun run build |
Build the production site to ./dist/ |
bun run preview |
Preview the production build locally |
Editing content
All pages are Markdown/MDX files in src/content/docs/:
guides/- narrative guides (introduction, installation, CI setup, …)reference/- reference material (CLI, config file formats)
Each file maps to a route based on its path, e.g. src/content/docs/guides/installation.md becomes /guides/installation/. Guide pages are ordered explicitly in the sidebar section of astro.config.mjs; reference pages are picked up automatically.
Changes merged to main are deployed automatically.