Defined in: lib/Compiler.js
The module that compiles the docs.
config | Objectmegadoc options. |
AssetsThe asset registry.
ConfigThe config that was supplied by the user.
CorpusThe corpus for this compilation.
LinkResolverThe link resolver for this compilation and corpus.
RendererThe renderer instance configured for this compilation.
AssetUtilsA set of path-sensitive utils that take the user-configuration into account.
Remove a previously registered event handler.
event | StringThe event you previously bound to. |
callback | FunctionThe exact callback you passed in Compiler#on, including the context binding if any. |
Register a compilation event handler.
event | StringThe event to bind to. |
callback | Function |
Perform the compilation.
done | FunctionCallback to invoke when the compilation is complete. |
done.err | String|ErrorIf present, the compilation has failed. This parameter provides some context around the failure. |
runOptions | ObjectA set of options to control the compilation. |
runOptions.stats | BooleanTurn this on if you want to generate compile-time statistics. Defaults to: |
Made with ♥ using megadoc.