Public documentation for Pinchana API and Pinchana Web. This repository builds static files with Astro and Fumadocs' Neutral theme for docs.pinchana.cc.
Use Bun and Node.js 22.23.4 or newer.
bun install --frozen-lockfile
bun run dev:foregroundOpen http://localhost:4321. Use bun run dev for Astro's background server, and bunx astro dev stop to stop it.
Write pages in src/content/docs/. Each page has a frontmatter title and description. Use the nearest meta.json to order pages in the sidebar. Verify API and Web examples against the public code and keep example credentials as placeholders.
bun run check
bun run build
bun run previewThe production export lives in dist/, including the local search index. Use Build and serve these docs to run it with Compose and Nginx.
Start at /agents.txt for the page index. Add agents.txt to a docs page URL to read a plain-text copy, for example /start/python/agents.txt. The build generates these files from the same source as the site and advertises them in each page's HTML head. Fumadocs also publishes /llms.txt and /llms-full.txt.