bit-docs-generate-html/generate module

Generates an HTML site for a DocMap given configuration siteConfig.

generate(docMapPromise, siteConfig)

Parameters

  1. docMapPromise {Promise<DocMap>}:

    A promise that contains a docMap created by bit-docs-glob-finder/index.

  2. siteConfig {Object}:

    Configuration siteConfig.

Returns

{Promise}:

A promise that resolves when the site has been built.