generate

  • function
 

Generates an HTML site for a docMap given configuration options.

.generate(docMapPromise, options)

Parameters

  1. docMapPromise {Promise<docMap>}

    A promise that contains a docMap created by [documentjs.process.files].

  2. options {Object}

    Configuration options.

Returns

{Promise}

A promise that resolves when the site has been built.