Skip to content

docs(router): add 0gpc CLI page under Clients & Dev Tools - #430

Merged
Ravenyjh merged 4 commits into
mainfrom
docs/0gpc-cli-429
Oct 23, 2026
Merged

Ravenyjh merged 4 commits into
mainfrom
docs/0gpc-cli-429

Conversation

@dragon888code

@dragon888code dragon888code commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Closes #429

  • New page router/clients/0gpc-cli (first under Router → Clients & Dev Tools)
  • Linked from the Router Quickstart (pc.0g.ai's Onboarding docs target) and the Claude Code page
  • ai-context.md: @0gfoundation/0gpc package
  • .cspell.json: opencode, xdragon, ZGPC

Verification

  • pnpm exec tsc --noEmit → exit 0
  • pnpm build → exit 0 (broken-link check passes; page + .md twin emitted, listed in llms.txt)
  • npx cspell "**/*.{md,mdx}" → exit 0 (90 files, 0 issues)

This change is Reviewable

@vercel

vercel Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
0g-doc Ready Ready Preview Oct 23, 2026 6:44am UTC
0g-doc-new Ready Ready Preview Oct 23, 2026 6:44am UTC

@dragon888code

Copy link
Copy Markdown
Contributor Author

Update: page body now matches the source text verbatim, plus an npm link (@0gfoundation/0gpc) under Installation.

CI initially failed (llms-full.txt has 84 Source lines for 85 pages): the page's H1 differs from its frontmatter title and opens with a blockquote, which the Source-line matcher in src/plugins/llms-txt-plugin.js didn't skip. Fixed in 0e757b2 — this touches site code, please review.

Verification (0e757b2):

  • pnpm build → exit 0, [llms-txt] Added Source lines to llms-full.txt: 85 of 85 pages
  • diff of llms-full.txt before/after the plugin fix: only the new 0gpc Source line added; all other pages unchanged
  • pnpm exec tsc --noEmit → exit 0
  • npx cspell "**/*.{md,mdx}" → exit 0
  • CI: Build and Test ✅, Spell Check ✅, Vercel ✅

@Ravenyjh
Ravenyjh merged commit 83b0d72 into main Oct 23, 2026
7 checks passed
@Ravenyjh
Ravenyjh deleted the docs/0gpc-cli-429 branch October 23, 2026 06:49

This branch was successfully deployed

2 active deployments
Preview – 0g-doc-new — 0e757b21 Deployed Oct 23, 2026 by vercel[bot]
Preview – 0g-doc — 0e757b21 Deployed Oct 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(router): add 0gpc CLI page under Clients & Dev Tools

2 participants