DocBox - API Docs
DocBox is a JavaDoc-style documentation generator for your BoxLang and CFML Applications.
π DocBox - API Documentation Generator
DocBox is a JavaDoc-style documentation generator for BoxLang codebases, featuring modern HTML themes, JSON output, and UML diagram generation.
You can check out the API Docs for DocBox itself here: https://s3.amazonaws.com/apidocs.ortussolutions.com/docbox/5.0.0/index.html

β¨ Features
π¨ Modern HTML Documentation - Two professional themes with dark mode support
π Real-time Search - Live method filtering with keyboard navigation
π Multiple Output Formats - HTML, JSON, and XMI/UML diagrams
𦀠BoxLang Native - First-class BoxLang runtime and CLI support
π JavaDoc Compatible - Standard JavaDoc comment block parsing
β‘ Alpine.js SPA - Fast, modern single-page application interface
π Dark Mode - System preference detection with manual toggle

π Quick Start
BoxLang Module (Recommended)
Install DocBox as a BoxLang module for CLI access. You can find the full documentation here: https://docbox.ortusbooks.com/getting-started/boxlang-cli
Generate documentation from the command line:
BoxLang Apps
Install as a development dependency in your BoxLang project:
Use programmatically in your build scripts:
π¦ Installation Options
BoxLang Module
box install bx-docbox
CLI usage, BoxLang projects
BoxLang Apps
box install docbox --saveDev
Programmatic use, build scripts
CommandBox Module
box install commandbox-docbox
Task runner, automated builds
π¨ Modern Themes
Default Theme (Alpine.js SPA)
β‘ Client-side routing and dynamic filtering
π Dark mode with localStorage persistence
π Real-time method search
π Method tabs (All/Public/Private/Static/Abstract)
π Modern purple gradient design
Frames Theme (Traditional)
ποΈ Classic frameset layout
π jstree navigation sidebar
π― Bootstrap 5 styling
π± Mobile-friendly design
π» System Requirements
BoxLang 1.8+
CommandBox (for installation and CLI usage)
π Output Formats
HTML
Modern browsable documentation
Developer reference, public API docs
JSON
Machine-readable structured data
Integration with other tools, custom processing
XMI
UML diagram generation
Architecture diagrams, visual documentation
π οΈ CLI Examples
BoxLang Module CLI
CommandBox Task Runner
Install the commandbox-docbox module:
Generate documentation using CommandBox commands:
Use in a task.cfc for automated builds:
π Documentation
Complete documentation is available at docbox.ortusbooks.com
π Related Projects
commandbox-docbox - CommandBox module for task runner integration
bx-docbox - BoxLang native module with CLI
Last updated
Was this helpful?
