@raystack/chronicle
v0.10.1
Published
Config-driven documentation framework
Downloads
1,992
Readme
Chronicle
Config-driven documentation framework built on Vite, Nitro, and Apsara UI.
Features
- Config-driven — Single
chronicle.yamlfor all site configuration - Themeable — Built-in themes:
default(sidebar + TOC) andpaper(book-style) - MDX — Write docs in MDX with callouts, tabs, mermaid diagrams, and syntax highlighting
- API docs — Interactive OpenAPI documentation with "Try it out" panel
- LLMs — Auto-generate
/llms.txtand/llms-full.txtfor AI consumption - CLI —
init,dev,build,start,servecommands
Quick Start
Install
npm install -g @raystack/chronicleInitialize
chronicle initCreates a chronicle.yaml and sample index.mdx.
Develop
chronicle devOpen http://localhost:3000.
Build for production
chronicle build
chronicle startContributing
We welcome contributions! Here's how to get started:
Prerequisites
Running Locally
- Fork and clone the repository
git clone https://github.com/<your-username>/chronicle.git
cd chronicle- Install dependencies
bun install- Build the CLI
bun run build:cli- Run the docs site locally
bun run dev:docsOpen http://localhost:3000 to see the docs site.
You can also run the CLI directly:
./packages/chronicle/bin/chronicle.js dev --config docs/chronicle.yamlMaking Changes
- Create a branch from
main - Make your changes
- Test locally from the
docs/directory - Open a pull request
