NaturalDocs::Builder::HTML |
A package that generates output in HTML.
All functions are called with Package->Function() notation.
NaturalDocs:: | A package that generates output in HTML. |
Implemented Interface Functions | |
INIT | Registers the package with NaturalDocs::Builder. |
CommandLineOption | Returns the option to follow -o to use this package. |
BuildFile | Builds the output file from the parsed source file. |
BuildIndex | Builds an index for the passed type. |
UpdateMenu | Updates the menu in all the output files that weren’t rebuilt. |
Support Functions | |
UpdateFile | Updates an output file. |
UpdateIndex | Updates an index’s output file. |
sub INIT
Registers the package with NaturalDocs::Builder.
sub BuildFile #( sourceFile, parsedFile )
Builds the output file from the parsed source file.
sourcefile | The FileName of the source file. |
parsedFile | An arrayref of the source file as NaturalDocs::Parser::ParsedTopic objects. |
sub BuildIndex #( type )
Builds an index for the passed type.
type | The TopicType to limit the index to, or undef if none. |
sub UpdateFile #( sourceFile )
Updates an output file. Replaces the menu, HTML title, and footer. It opens the output file, makes the changes, and saves it back to disk, which is much quicker than rebuilding the file from scratch if these were the only things that changed.
sourceFile | The source FileName. |
sub UpdateIndex #( type )
Updates an index’s output file. Replaces the menu and footer. It opens the output file, makes the changes, and saves it back to disk, which is much quicker than rebuilding the file from scratch if these were the only things that changed.
type | The index TopicType, or undef if none. |
Registers the package with NaturalDocs::Builder.
sub INIT
Returns the option to follow -o to use this package.
sub CommandLineOption
Builds the output file from the parsed source file.
sub BuildFile #( sourceFile, parsedFile )
Builds an index for the passed type.
sub BuildIndex #( type )
Updates the menu in all the output files that weren’t rebuilt.
sub UpdateMenu
Updates an output file.
sub UpdateFile #( sourceFile )
Updates an index’s output file.
sub UpdateIndex #( type )