This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
ZAICO API Documentation repository - generates interactive HTML documentation from Markdown API specifications using Aglio (API Blueprint format). Published at https://zaicodev.github.io/zaico_api_doc/
# Install dependencies (requires Node.js v16)
yarn
# Development server with auto-reload (localhost:3005)
yarn dev
# Build production HTML (outputs to dist/index.html)
yarn build- api.md: Main entry point using API Blueprint FORMAT: 1A syntax. Includes all API endpoint files via
<!-- include(...) -->directives. - includes/authorization.md: Authentication documentation (Bearer token)
- includes/api/*.md: Individual API endpoint documentation files (inventories, purchases, packing_slips, customers, etc.)
- dist/index.html: Generated HTML output (committed to repo)
- Create a new file in
includes/api/following API Blueprint format - Add
<!-- include(includes/api/your_new_file.md) -->toapi.md - Use
# Groupfor resource grouping,## Endpoint [/path]and### HTTP_METHODfor endpoints - Define request/response with
+ Request,+ Response,+ Parameters,+ Attributes
GitHub Actions automatically builds and deploys to GitHub Pages when commits are pushed to master branch. The workflow is defined in .github/workflows/gh-pages.yml.