cbuserguide - User Guide Generator¶
Automated documentation generator for Campaign Brain web applications.
Purpose¶
Generate automated markdown user guides for web apps by:
- Mapping UI components to their related API calls
- Mapping screenshot coordinates to underlying UI components
- Producing navigable user documentation
Architecture¶
Uses Playwright and pytest to gather UI/API interaction data, then generates markdown documentation.
Tech Stack¶
- Python (nominates pyenv environment)
- Playwright - Browser automation for screenshots and DOM inspection
- pytest - Test framework for gathering interaction data
- FastHTML - Target framework (DOM-based component identification)
Workflow¶
- Data Collection: Crawl web app, capture screenshots, map DOM elements
- API Mapping: Correlate UI interactions with API endpoints
- Documentation Generation: Produce markdown guides with annotated screenshots
Related¶
- See START-HERE.md for detailed planning
- See WORKFLOW.md for process documentation