arc42 Documentation Generation
ArchTect can generate complete architecture documentation from your model, following the arc42 template — a widely-used standard for software architecture documentation.
What is arc42?
Section titled “What is arc42?”arc42 provides a standardized structure for architecture documentation with sections covering:
- Introduction and Goals
- Architecture Constraints
- Context & Scope
- Solution Strategy
- Building Block View
- Runtime View
- Deployment View
- Cross-cutting Concepts
- Architecture Decisions
- Quality Requirements
- Risks and Technical Debt
- Glossary
How to generate
Section titled “How to generate”VS Code extension
Section titled “VS Code extension”- Open your project in ArchTect.
- Command Palette →
ArchTect: Generate Documentation. - Generated Markdown files are saved to the output folder.
Browser app
Section titled “Browser app”- Open the Architecture menu in the top bar.
- Select Generate Documentation.
- Download the generated files.
View-to-section mapping
Section titled “View-to-section mapping”ArchTect automatically places your views into the correct arc42 sections:
| arc42 section | Mapped view types |
|---|---|
| 3. Context & Scope | System Landscape, System Context |
| 5. Building Block View | Container, Component |
| 6. Runtime View | Dynamic |
| 7. Deployment View | Deployment |
AI-assisted content
Section titled “AI-assisted content”When AI assistance is enabled, ArchTect enhances the generated documentation with:
- Section introductions — Prose descriptions for each arc42 section based on your model.
- Element descriptions — Summaries of each element’s role and purpose.
- Relationship narratives — Descriptions of how components interact.
- Gap detection — Highlights sections that lack views or content.
Output contents
Section titled “Output contents”Each generated section includes:
| Content | Description |
|---|---|
| Diagrams | Embedded PNG or SVG exports of relevant views |
| Element tables | Name, description, technology for all elements in scope |
| Relationship tables | Source, destination, description, technology |
| View metadata | View title, description, and key |
| Section prose | AI-generated descriptions (when enabled) |
See also
Section titled “See also”- Documentation Map — How view types map to arc42 sections
- View Types — Understanding which views map to which sections
- Export overview — All export formats