generate_docs
Generate structured project documentation from the code graph, including architecture, API surface, data models, components, and dependency analysis. Outputs markdown or HTML.
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 |
|---|---|---|---|
| scope | No | Scope (default: project) | |
| path | Yes | Path for module/directory scope | |
| format | No | Output format (default: markdown) | |
| sections | No | Sections to include (default: all) |