generateProject
documentjs.configured.generateProject
Generates a project's documentation from its documentjs.json
.configured.generateProject( project, parent, options)
Parameters
-
project
{Object}A projectConfig configured with at least:
-
parent
{projectConfig}OptionalAn optional parent project that can be used to configure the behavior of this project.
-
options
{Object}Optional
Returns
{Promise}
A promise that resolves when the the project is documented.
Use
generateProjectis used to generate an application based on a docConfig. The following reads from__dirname + "/documentjs.json"and generates a site:You can provide a docConfig if you don't want it read from the filesystem: