@x12i/ai-gateway-docs
v1.0.0
Published
AI Gateway docs knowledge SDK for x12i-docify — install as a devDependency only. Catalog, guides, contracts, and coding-agent instructions for humans and agents.
Maintainers
Readme
@x12i/ai-gateway-docs
AI Gateway docs knowledge SDK for the x12i-docify platform. Install as a devDependency only — do not add to production service dependencies.
npm i -D @x12i/ai-gateway-docsimport { aiGatewayDocs } from "@x12i/ai-gateway-docs";
aiGatewayDocs.getUseCaseMarkdown("invoke-with-identity");
aiGatewayDocs.getBookMarkdown("01-gateway-core", "developers");
aiGatewayDocs.manifest();CLI:
npx ai-gateway-docs list-use-cases
npx ai-gateway-docs use-case invoke-with-identity > pack.md
npx ai-gateway-docs book 01-gateway-core developers > book.mdHumans (local docs site)
From this package:
npm run docs # build if needed, serve via docify, open browser (port 4173)
npm run docs:rebuild # force rebuild + serve
npm run docs:serve # serve without opening browser
npm run docs:verify # docify verify assets + package
npm run docs:publish # docify publish → Cloudflare Pages (docs.ai-gateway.x12i.com)Humans: https://docs.ai-gateway.x12i.com
Agents: install this package / read files/ (INDEX.md, SEARCH.json, packs).
Authoring
Content lives in this folder (data/, concepts/, guides/, books). Docify does not discover product truth from source — author explicitly, then npm run build.
