JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4733
  • Score
    100M100P100Q119793F
  • License MIT

A powerful dev-tool to easily generate beautiful HTML documentation from Javascript (JSDoc), Markdown and HTML files.

Package Exports

  • docma

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (docma) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Docma

npm release dependencies license maintained

© 2017, Onur Yıldırım (@onury). MIT License.

A powerful tool to easily generate beautiful HTML documentation from Javascript (JSDoc), Markdown and HTML files.

Features

  • Parse JSDoc documentation, Markdown and HTML files.
  • Build a cool SPA (Single Page Application) from parsed files.
  • Generate multiple/separate API documentations by grouping JS files.
  • Path or Query-string based app routing.
  • Non-opinionated engine, built-in template with cool opinions. 😎
  • Supports custom templates.
  • Works great with GitHub Pages.
  • Build via API or CLI.
  • Extremely configurable and debuggable.
  • Well documented. ☝️

...like this:

Docma Screenshot

Installation

npm i docma -g

Programmatic Usage

    var Docma = require('docma');
    Docma.create()
        .build(config)
        .then(function (success) {
            console.log('Documentation is built successfully.');
        })
        .catch(function (error) {
            console.log(error);
        });

See Build configuration.

Command-Line Usage

    docma -c path/to/docma.config.json -d path/to/destination

See Docma CLI reference.

Documentation

Read Docma documentation, built with Docma, for a Docma demo... ;)

  • jsdoc-x — Parser for outputting a Javascript object from documented code via JSDoc's explain (-X) command.
  • marked — A full-featured markdown parser and compiler, written in JavaScript. Built for speed.
  • dustjs — Asynchronous Javascript templating for the browser and server.