bit-docs-generate-html/write/doc_object module
Writes out a DocObject.
docObject(docObject, renderer, siteConfig, setCurrentDocObjectForHelpers)
Parameters
- docObject
{DocObject}
:The DocObject to be written out.
- renderer
{Renderer(docObject)}
:A function that renders the output.
- siteConfig
{Object}
:Configuration siteConfig.
- setCurrentDocObjectForHelpers
{function(bit-docs/types/docObject)}
:
Returns
{Promise}
: A promise that resolves when the file has been written out.