public class Generator extends Object
| Constructor and Description |
|---|
Generator(File rootDirectory,
String extension,
boolean debug)
Instantiate a generator, without being attached to a gradle build project
|
Generator(org.gradle.api.Project project,
DocumentrPluginExtension extension)
Instantiate a generator which will generate the README file from the
documentr.json file.
|
public Generator(org.gradle.api.Project project,
DocumentrPluginExtension extension)
project - The gradle project to useextension - the plugin extension which contains all of the options.public void generate()
throws DocumentrException
DocumentrException - if there was an error in generating the
documentation