⚠️
Currently under development, not ready for use yet
This library is currently unstable and the API is in flux. It is being worked on in the open for better exposure, please feel free to add to the discussion if you have any questions or suggestions. As of right now, packages aren't published yet and documentation may be lacking or stale.
DocGraph
A topological documentation generator for JavaScript with first-class support for React.
Built with ts-morph, graphology swc, and mdx.
Features
Install
yarn add @docgraph/bundle
npm install @docgraph/bundle
Usage
import { bundle } from "@docgraph/bundle"
const tsxString = `
export const HelloWorld = ({ name = 'World' }) => <div>Hello {name}</div>
`
const mdxString = `# Hello World`
const json = bundle({
"hello-world.tsx": tsxString,
"hello-world.mdx": mdxString,
})