Configuration
Configure DocBox output formats and generation options
📊 Supported Output Formats
var docbox = new docbox.DocBox();
docbox.addStrategy( "UML", { outputFile : "./tmp/docs/app-diagram.uml" })⚙️ Basic Configuration
🎯 Single Strategy
new docbox.DocBox()
.addStrategy( "HTML", {
projectTitle : "My API Documentation",
outputDir : expandPath( './docs' ),
theme : "default" // or "frames"
} )
.generate(
source = expandPath( "/app" ),
mapping = "app",
excludes = "(tests|build)"
);🔄 Multiple Strategies
🎨 HTML Strategy Options (New in 5.0)
✨ Theme Features
🔧 Generate Method Parameters
📁 Single Source
📂 Multiple Sources
🥊 BoxLang CLI Usage (New in 5.0)
♻️ Backwards Compatibility
Last updated
Was this helpful?