Docs: switch to well-maintained jsdoc2md for JSDoc parsing

This commit is contained in:
Lovell Fuller
2023-01-08 10:15:38 +00:00
parent a42a975c46
commit ef849fd639
13 changed files with 929 additions and 1283 deletions

View File

@@ -77,9 +77,7 @@
.map(function (sidebarLink) {
return sidebarLink.title;
})[0];
return title
? md.replace(/<!-- Generated by documentation.js. Update this documentation by updating the source code. -->/, '# ' + title)
: md;
return title ? `# ${title}\n${md}` : md;
});
}
};