elm-doc-preview 3.0.0 is a complete rewrite with two new major features:
- Applications are now completely supported, see README to understand how this works.
- The web application is now an offline clone of package.elm-lang.org, but using your local cached packages. You can search packages, browse sources, see how your previewed package will appear in the list, etc. And it can be run even without any package or application to preview.
It is released as a release candidate (
3.0.0-rc1 for now) until I get enough feedback, so please test it on any package or application if you can:
npm install -g elm-doc-preview@next
Edit: 3.0.0 has been released:
npm install -g elm-doc-preview
The new version also resolves all know bugs and features requests.
Example of elm-spa-example with some documentation exposed:
Example of cached packages search page:
Example of a cached package documention (it includes the information of elm-package-info that can displayed offline):