Skip to content

docs: move the product docs into docs-site/, built with Vertical Docs - #84

Closed
vapi-development wants to merge 1 commit into
mainfrom
docs/vertical-docs-site
Closed

vapi-development wants to merge 1 commit into
mainfrom
docs/vertical-docs-site

Conversation

@vapi-development

Copy link
Copy Markdown
Contributor

What & why

The product docs (today on GitBook at docs.vapinetwork.ai) move into this repository as Markdown in docs-site/, built by Vertical Docs. The docs then sit beside the CLI and core code they describe: a pull request can change both, and the docs workflow checks every link, anchor, heading and search result on each pull request.

Nothing changes for readers yet. docs.vapinetwork.ai stays on GitBook. Once the Cloudflare settings below are set, main deploys the site as the Worker vapi-docs on its workers.dev address, and each pull request gets a preview address. The domain moves in a later pull request.

Changes

  • docs-site/: 119 pages and 34 images imported from the GitBook source (ztsrdev/gitbook-ops at 0810093), docs.config.json (six header tabs: Call, Agents, Router, Stake, Tasks, Reference, as on GitBook), logo, favicon, share image, and public/_redirects with GitBook's 90 old paths (/call/readme → /call/, …).
  • .github/workflows/docs.yml: checks the site on every pull request and on main; deploys when CLOUDFLARE_ACCOUNT_ID is set.
  • .github/workflows/docs-sync.yml: optional. Without the secret ANTHROPIC_API_KEY, a run does nothing.
  • AGENTS.md: a short section telling agents to update docs-site/content/ when they change behaviour that a page describes.
  • Content edits after the import:
    • "Read the docs from your AI app" now describes this site's MCP server (/mcp: search_docs, get_page), Markdown pages and llms.txt, instead of GitBook's MCP server, ?ask= and llms-full.txt.
    • The Earn page is the index of its folder, so the importer's generated link list doesn't shadow it.
    • The Call tab is titled "Call".
    • The repeated first sentence on the Introduction page is gone.
  • All of docs-site/ is formatted with the repository's Prettier.

Checklist

  • pnpm format:check and pnpm lint pass locally. typecheck, test, build and pack:check were not run locally: no code changed. CI runs them.
  • vertical-docs check docs-site passes: exit 0, 120 pages (119 plus the 404 page), run as the workflow does with vertical-docs@0.1.0 from npm. wrangler deploy --dry-run bundles (737 KiB, 150 KiB gzipped).
  • Tests added or updated for behaviour changes: none needed.
  • No runtime dependencies added to a published package.
  • Keys, payments and telemetry are untouched.
  • Commits are signed off.

Before the domain moves (not in this PR)

  • vapi docs relies on GitBook. packages/core/src/docs.ts calls /~gitbook/mcp (searchDocumentation), /readme.md?ask=, and <path>/readme.md for group pages. On this site, search is /mcp with search_docs, there's no ask, and a group page's Markdown is /call.md. vapi docs search, vapi docs (ask), and the MCP tools docs.search and docs.read need a change, and a release, before docs.vapinetwork.ai points here. Otherwise installed clients break.
  • GitBook edits made after the import are carried over by running the import again just before the switch.
  • Two command references: docs/cli.md, which help-alignment.test.ts checks, and docs-site/content/reference/cli/cli-reference.md. One should link to the other. Not changed here.

Breaking changes

None.

🤖 Generated with Claude Code

The pages of docs.vapinetwork.ai, imported from the GitBook source, as
Markdown in docs-site/content/. The docs workflow checks every link,
anchor and search result on each pull request and, once the Cloudflare
settings are set, deploys the site as the Worker vapi-docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: vAPI Development <336934719+vapi-development@users.noreply.github.com>
@ztsrdev

ztsrdev commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Closed in favour of vAPI-Network/vapi-app#1006: the docs move into vapi-app, the main app, which builds most of what they describe. The GitBook calls in packages/core/src/docs.ts (the vapi docs command) still need a change here before the domain moves.

@ztsrdev ztsrdev closed this Nov 23, 2026
@ztsrdev
ztsrdev deleted the docs/vertical-docs-site branch November 23, 2026 13:38
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.

2 participants