Dev Docs
Verify the package boundary and deploy this docs site.
Dev Docs
Repository development
npm install
npm link
ahtml init
ahtml status
ahtml doctor
ahtml schema --format promptRepository fallback:
npm run agent -- schema --format promptVerify package boundary
npm pack --dry-runThe package should include only the config, engine, CLI, bin entry, TypeScript configs, and README. It should not include a root Vite app, package-local renderer, root shadcn UI files, docs web files, examples, specs, blueprints, or tests.
Verify installed CLI behavior
npm run verify:packThis packs the project, installs it into a temporary consumer project, and verifies installed ahtml commands.
Runtime architecture
installed ahtml package
-> config + engine + CLI
-> user-local Vite + shadcn integration
-> static artifact directoryahtml build must use the user-local integration. Do not restore a package-local Vite builder, package-local renderer, or package-local shadcn UI kit.
Build the docs web
npm run docs:web:buildDocs web output:
docs-web/outDeploy docs to Cloudflare Pages
Use these Cloudflare Pages settings:
Build command: npm run docs:web:build
Output directory: docs-web/outThe docs web is deployed separately from the ahtml package.