generate_docs
Auto-generate structured project documentation from code graphs, covering architecture, APIs, data models, components, and dependencies. Outputs markdown or HTML files for a complete documentation snapshot.
Instructions
Auto-generate project documentation from the code graph. Produces structured docs with architecture, API surface, data models, components, and dependency analysis. Writes output file (markdown or HTML). Use when you need a comprehensive documentation snapshot. Returns JSON: { format, sections, outputPath }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path for module/directory scope | |
| scope | No | Scope (default: project) | |
| format | No | Output format (default: markdown) | |
| sections | No | Sections to include (default: all) |