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 (
There remaining function documentation is a work in progress, but you can preview it by clicking{' '} here. Beware that everything is not properly ordered from this point.
); } // console.log('docJson', docs); return (The following Chapter is autogenerated from the jsdoc comments in the source files.{' '} hide. Beware that everything is not properly ordered from this point.
{docs .filter((item) => !item.name?.startsWith('_') && item.kind !== 'package') .map((item, i) => (