Specialized subsystems that extend Bengal's core functionality.
| Subsystem | Purpose | Entry Point |
|---|---|---|
| Autodoc | Generate docs from Python, CLI, OpenAPI | bengal/autodoc/ |
| Analysis | Graph analysis, PageRank, link suggestions | bengal/analysis/ |
| Health | Content validation, broken link detection | bengal/health/ |
| Fonts | Google Fonts download, self-hosting | bengal/fonts/ |
| Collections | Type-safe content schemas | bengal/collections/ |
| Content Layer | Unified API for remote content | bengal/content/sources/ |
| CLI Output | Terminal output formatting | bengal/output/ |
| Debug Tools | Build diagnostics | bengal/debug/ |
Note
Subsystems are imported on-demand — Bengal uses deferred imports so subsystem code only loads when actually used, minimizing startup time.
In This Section
Analysis System
Graph analysis, PageRank, community detection, and link suggestions
Autodoc System
AST-based Python documentation generator
CLI Output
Centralized terminal output system with profile-aware formatting
Collections
Type-safe content schemas with validation
Content Layer
Unified API for local and remote content sources
Debug Tools
Diagnostic utilities for understanding builds and debugging issues
Fonts System
Automatic Google Fonts downloading and self-hosting
Health Check System
Comprehensive build validation and health checks