A package that takes parsed source file and builds the output for it.
NaturalDocs:: | A package that takes parsed source file and builds the output for it. |
Variables | |
outputPackages | An array of the output packages available for use. |
Functions | |
OutputPackages | Returns an arrayref of the output packages available for use. |
OutputPackageOf | Returns the output package corresponding to the passed command line option, or undef if none. |
Add | Adds an output package to those available for use. |
Run | Runs the build process. |
sub OutputPackages
Returns an arrayref of the output packages available for use. The arrayref is not a copy of the data, so don’t change it.
Add output packages to this list with the Add() function.
sub Run
Runs the build process. This must be called every time Natural Docs is run, regardless of whether any source files changed or not. Some output packages have dependencies on files outside of the source tree that need to be checked.
Since there are multiple stages to the build process, this function will handle its own status messages. There’s no need to print “Building files...” or something similar beforehand.
An array of the output packages available for use.
my @outputPackages
Returns an arrayref of the output packages available for use.
sub OutputPackages
Returns the output package corresponding to the passed command line option, or undef if none.
sub OutputPackageOf #( commandLineOption )
Adds an output package to those available for use.
sub Add #( package )
Runs the build process.
sub Run
Generates names for each of the input and image directories, which can later be retrieved with InputDirectoryNameOf() and ImageDirectoryNameOf().
sub GenerateDirectoryNames #( hashref inputHints, hashref imageHints )