How it works

"You write in plain text or human-friendly CommonMark"

"DocGen styles and publishes all your content as a website"

"DocGen also creates an equivalent PDF copy"

Flexible Input Formats

Plain text

CommonMark (Markdown)

HTML

LaTeX mathematical expressions

Image diagrams

Attach other documents Configurable Metadata

Branding (logo, title, organization)

License, copyright, and legal markings

Ownership and attribution

Version information

Release notes (change log)

DocGen is probably not the right tool for precision PDF layout. Or for product configurators which need to output variants based on a common template. Docgen is intended more for free-form, human generated content which is regularly updated and refactored, and standardised for each product release.

Browser support

Quick start

In just three commands:

Install DocGen

Scaffold an empty template

Generate a static website

Output created by DocGen works in modern browsers (desktop and mobile devices).Enter these commands in the terminal:

sudo npm install -g docgen-tool docgen scaffold docgen run -o $HOME/docgen-example

See the installation guide for more detailed instructions.