Skip to content

monodocsMany files in, one file out

A lightweight CLI that bundles split Markdown / AsciiDoc into a single, self-contained HTML or PDF file — built for distribution, not for general-purpose format conversion.

npx monodocs build ./docs -o dist/docs.html

The files in ./docs, nested in folders, bundle into a single docs.html whose sidebar follows the same hierarchy of pages, or a single docs.pdf.
  • docs/
  • index.md
  • guide/
  • install.md
  • config.adoc
  • notes/
  • faq.adoc
  • images/
  • logo.svg
docs.html
  • 1 file
  • no server
  • reads offline
Open the sample
docs.pdf --format pdf
  • 1 file
  • bookmarks
  • page links

Released under the MIT License.