bit-docs-generate-html/build/templates module
Creates a folder with all the templates used to generate the documentation.
build.templates(siteConfig)
Builds the bit-docs-generate-html/site/templates/buildHash folder with the following steps:
- Copies bit-docs-generate-html/site/default/templates to bit-docs-generate-html/site/templates/buildHash.
- Copies
siteConfig.templates
to bit-docs-generate-html/site/templates/buildHash.
Parameters
- siteConfig
{Object}
:siteConfig used to configure the behavior of the templates.
Returns
{Promise}
: A promise that resolves if the static dist was successfully created.