whole_func_string: function writeOutputHTML(dir, html) {
    const outputPath = pathJoin(dir, 'index.html');
    mkdirp.sync(path.dirname(outputPath));
    writeFileSync(outputPath, serialize(html));
  }
func_code_string: function writeOutputHTML(dir, html) {
    const outputPath = pathJoin(dir, 'index.html');
    mkdirp.sync(path.dirname(outputPath));
    writeFileSync(outputPath, serialize(html));
  }
func_documentation_string: Writes given HTML AST to output index.html