elm-postiche-cli

0.1.0 • Public • Published

elm-postiche-cli

Generate unsound HTML from any Elm documentation metadata.

About

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.

Examples

Try:

$ elm reactor

Then navigate to src/Example.elm.

Development

  1. Build worker

    $ pnpm make:elm
  2. Build executable

    $ pnpm bundle
  3. 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]

Example usage

$ node ./bin/postiche --spec elm/core --docs docs.json

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i elm-postiche-cli

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

452 kB

Total Files

6

Last publish

Collaborators

  • lettenj61