Table of Contents
`) + module_list.map(function ({
elem_list,
id,
moduleName
}) {
return (
(`
-
Module ${moduleName}
`)
+ elem_list.map(function ({
signature
}) {
return "- \n" + signature + "\n
\n";
}).join("")
+ (`
`)
);
}).join("") + (`
`) + module_list.map(function ({
elem_list,
id,
moduleName
}) {
return (
(`
`)
+ elem_list.map(function ({
source
}) {
return source;
}).join("")
+ (`
`)
);
}).join("") + (`
`);
html = html.trim().replace((
/ +?$/gm
), "") + "\n";
await fsWriteFileWithParents(pathname, html);
}
function jslint_assert(condition, message) {
// This function will throw