docs/README.md
Astro-powered documentation site for Claude Code Router.
npm install
npm run dev
npm run build
npm run preview
The local development server runs from this docs directory.
Docs are deployed from .github/workflows/docs.yml on pushes to main that change docs/** or the workflow itself. The default public URL is:
https://ccrdesk.top/
The Astro build reads ASTRO_SITE and ASTRO_BASE, defaulting to https://ccrdesk.top and /.
Docs pages are authored in Markdown:
src/content/docs/zh/index.mdsrc/content/docs/en/index.mdFrontmatter provides the page title, eyebrow, and lead text. Markdown headings generate the right-side table of contents, and fenced code blocks are compiled with Shiki highlighting.