can now generate mdx from nunjucks

This commit is contained in:
Felix Roos
2022-05-24 00:03:59 +02:00
parent b5b0fbbd38
commit 4acdabe439
10 changed files with 627 additions and 274 deletions
+4 -3
View File
@@ -8,7 +8,8 @@ function ApiDoc() {
if (!visible) {
return (
<p>
The API Docs are a work in progress, but you can preview it by clicking <a href="?api=true#api-docs">here</a>
There remaining function documentation is a work in progress, but you can preview it by clicking{' '}
<a href="?api=true#everything-else">here</a>. Beware that everything is not properly ordered from this point.
</p>
);
}
@@ -16,8 +17,8 @@ function ApiDoc() {
return (
<div>
<p>
The following Chapter is the technical API documentation. It is autogenerated from the jsdoc comments in the
source files. <a href="?#api-docs">hide</a>
The following Chapter is autogenerated from the jsdoc comments in the source files.{' '}
<a href="?#everything-else">hide</a>. Beware that everything is not properly ordered from this point.
</p>
{docs
.filter((item) => !item.name?.startsWith('_') && item.kind !== 'package')