@optimics/monorepodoc

0.2.7 • Public • Published

monorepodoc

Zeroconf JSDoc wrapper with support for redoc and mermaid that generates documentation for each of your monorepo projects and includes READMEs.

Directories

monorepo/
├─ node_modules/      // Always ignored by default
├─ packages/          // Subpackages are expected here
│  ├─ docs/           // Markdown files from here are bundled into the docs package
│  ├─  ├─ anything.md
│  ├─ specs/
│  ├─  ├─ index.yaml  // Compiled with redoc and bundled in
│  ├─ package.json    // Meta information extracted, dependencies linked
│  ├─ README.md       // Bundled in
├─ package.json       // Meta information extracted
├─ README.md          // Bundled in

Installation

npm install --save-dev @optimics/monorepodoc

Supports only Node.js >= 16

Running

Monorepodoc will automatically resolve all of your monorepo packages and put build outputs into dist/docs.

monorepodoc

Redoc support

Simply installing redoc-cli should get your specs automagically bundled.

npm install --save-dev redoc-cli

Mermaid support

Simply installing @mermaid-js/mermaid-cli should get your mermaid charts automagically rendered into PNGs.

npm install --asve-dev @mermaid-js/mermaid-cli

Package Sidebar

Install

npm i @optimics/monorepodoc

Weekly Downloads

7

Version

0.2.7

License

MIT

Unpacked Size

15.6 kB

Total Files

19

Last publish

Collaborators

  • just-paja