claude-code-router/docs
2026-07-06 07:36:15 +08:00
..
public fix provider icon 2026-07-06 07:36:15 +08:00
src Add TeamoRouter provider preset and docs 2026-07-03 22:53:10 +08:00
.gitignore Refactor router config and provider handling 2026-06-23 20:21:28 +08:00
astro.config.mjs Update docs deployment and provider import copy 2026-06-28 21:19:01 +08:00
package-lock.json Remove CDN workflow and add MIT license info 2026-06-28 21:45:45 +08:00
package.json Remove CDN workflow and add MIT license info 2026-06-28 21:45:45 +08:00
README.md Update docs deployment and provider import copy 2026-06-28 21:19:01 +08:00
tsconfig.json Refactor router config and provider handling 2026-06-23 20:21:28 +08:00

Claude Code Router Docs

Astro-powered documentation site for Claude Code Router.

Commands

npm install
npm run dev
npm run build
npm run preview

The local development server runs from this docs directory.

GitHub Pages

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 /.

Content

Docs pages are authored in Markdown:

  • Chinese: src/content/docs/zh/index.md
  • English: src/content/docs/en/index.md

Frontmatter 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.