Defined in: lib/Compiler.js
The module that compiles the docs.
config | Object megadoc options. |
Assets
The asset registry.
Config
The config that was supplied by the user.
Corpus
The corpus for this compilation.
LinkResolver
The link resolver for this compilation and corpus.
Renderer
The renderer instance configured for this compilation.
AssetUtils
A set of path-sensitive utils that take the user-configuration into account.
Remove a previously registered event handler.
event | String The event you previously bound to. |
callback | Function The exact callback you passed in Compiler#on, including the context binding if any. |
Register a compilation event handler.
event | String The event to bind to. |
callback | Function |
Perform the compilation.
done | Function Callback to invoke when the compilation is complete. |
done.err | String|Error If present, the compilation has failed. This parameter provides some context around the failure. |
runOptions | Object A set of options to control the compilation. |
runOptions.stats | Boolean Turn this on if you want to generate compile-time statistics. Defaults to: |
Made with ♥ using megadoc.