Generate unsound HTML from any Elm documentation metadata.
postiche
is a command line tool which takes Elm's documentation metadata (docs.json
) as input and generate a set of HTML and Markdown files to host the doc elsewhere.
It uses docsify to render contents.
Try:
$ elm reactor
Then navigate to src/Example.elm
.
-
Build worker
$ pnpm make:elm
-
Build executable
$ pnpm bundle
-
Try executable with:
$ node ./bin/postiche --help
Options:
--help Show help [boolean]
--version Show version number [boolean]
-o, --output where to generate HTML into [string]
-p, --spec package specification, <author>/<package> [string]
--docs path of JSON file contains document info [string]
$ node ./bin/postiche --spec elm/core --docs docs.json
MIT