Base class for documentation generators.

Synopsis

Declared in <mrdocs/Generator.hpp>

class Generator;

Description

The generators a run can select live in a GeneratorRegistry, which owns them and finds them by id. A plugin installs its generators through PluginContext::registerGenerator, and a program adds its own with GeneratorRegistry::install.

Member Functions

Name

Description

~Generator [destructor] [virtual]

Destructor.

build [virtual]

Build the documentation for the corpus.

displayName [virtual]

Return the display name of the generator.

fileExtension [virtual]

Return the extension or tag of the generator.

id [virtual]

Return the symbolic name of the generator.

Non-Member Functions

Name

Description

getGeneratorOutputPath

Resolve the output location for a generator from the configuration.

getGeneratorParams

Return the options block of a generator.

makeGeneratorExtensionContext

Return the context a generator's callable or script receives.

Created with MrDocs