Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (30 sloc) 1.42 KB


This is a documentation previewer for Elm packages (>= 0.19). It allows previewing and docs.json files (generated with elm make --docs=docs.json).

It aims at rendering documentation exactly like the official package website.

Online version

There is an online version supporting documentation loading from github that can be used for reviews:

Local version

There is also a local version that supports hot reloading for convenient packages documentation editing:

$ npm install -g elm-doc-preview

Then, from the directory where your package elm.json is:

$ elm-doc-preview

or from anywhere:

$ elm-doc-preview path/to/package

As a side effect, this also allows to view installed packages documentation offline from the local cache:

$ elm-doc-preview ~/.elm/0.19.0/package/elm/html/1.0.0/