HTML Output
Generate browsable HTML documentation for your application CFCs
The HTML API Strategy is used to create CFC documentation based on Javadoc. DocBox does not fully support all the Javadoc syntax, but hopefully it will soon.
Instantiate DocBox
Begin by creating an instance of DocBox
:
Properties
The following are the properties for this strategy:
projectTitle
: The HTML title used in the documentationoutputDir
: The output directory absolute path
Just pass them in the docbox.addStrategy()
call:
Generate Documentation
Now that you have an instance of DocBox configured with your strategy and its properties, just execute the generate()
method with its appropriate arguments:
Last updated