import React, { Fragment } from 'react'; import { docs } from '../doc.json'; import { MiniRepl } from './MiniRepl'; const visible = window.location.href.includes('?api=true'); function ApiDoc() { if (!visible) { return (
The API Docs are a work in progress, but you can preview it by clicking here
); } // console.log('docJson', docs); return (The following Chapter is the technical API documentation. It is autogenerated from the jsdoc comments in the source files. hide
{docs .filter((item) => !item.name?.startsWith('_') && item.kind !== 'package') .map((item, i) => (