This directory contains the Nextra-based documentation for Huf.
To run the documentation locally:
cd agentflo/docs
npm install
npm run devThe documentation will be available at http://localhost:3000.
The documentation is automatically built during bench migrate or bench build via the root package.json build script.
To build manually:
# From agentflo root
yarn build-docs
# Or from docs directory
cd agentflo/docs
npm run buildThe build output is placed in agentflo/public/docs/ and the entry HTML is copied to agentflo/www/docs.html.
app/- Next.js app directorypage.mdx- Homepagedocs/- Documentation pagesinstallation/- Installation guidequick-start/- Quick start guideagents/- Agents documentationtools/- Tools documentationconversations/- Conversations documentationmonitoring/- Monitoring documentationdevelopment/- Development guide
theme.config.jsx- Nextra theme configurationnext.config.js- Next.js configuration
- Focus on users, not developers (except in Development section)
- Use clear, simple language
- Provide step-by-step instructions
- Include examples and use cases
- Reference Frappe documentation where appropriate