DocBox
Search…
Custom Output
In addition to the mainstream output formats, you can extend DocBox's AbstractTemplateStrategy component to generate your own custom-formatted documentation:
1
component extends="docbox.strategy.AbstractTemplateStrategy" accessors="true"{
2
/**
3
* Generate JSON documentation
4
*
5
* @metadata All component metadata, sourced from DocBox.
6
*/
7
component function run( required query metadata ){
8
// generate custom documentation format from arguments.metadata
9
}
10
}
Copied!
Last modified 9mo ago
Copy link