Installation
Get started with installing DocBox in your BoxLang or CFML application.
🦤 BoxLang Module Installation (Recommended for CLI)
CommandBox Web Runtimes
box install bx-docboxBoxLang OS Runtime
install-bx-module bx-docboxBoxLang CLI Tool Examples
# Basic usage
boxlang module:docbox --source=/path/to/code --mapping=myapp --output-dir=/docs
# With project title and excludes
boxlang module:docbox --source=/src --mapping=myapp \
--excludes="(tests|build)" \
--output-dir=/docs \
--project-title="My API"
# Multiple source mappings
boxlang module:docbox --mappings:v1=/src/v1/models \
--mappings:v2=/src/v2/models \
--output-dir=/docs
# Using frames theme
boxlang module:docbox --source=/src --mapping=app \
--output-dir=/docs \
--theme=frames
# Show help
boxlang module:docbox --help
# Show version
boxlang module:docbox --versionCommandBox Module
Using DocBox in a CFML Application
Download
Mapping
Last updated
Was this helpful?