docnator

0.3.3 • Public • Published

DOCNATOR

||| 🚫 in progress, docnator still are in development. |||

latest release travis ci build status percentage of code coverage by tests minimum node version code style: prettier semantic release

docnator is a CLI for generate the documentation of your javascript project, take your jsdocs, transform in markdown files, and use gitbook template.

docnator logomark

Instalation

Global

global instalation for use in any project with jsdocs.

# yarn 
$ yarn global add docnator
 
# npm 
$ npm install docnator --global

Usage

$ docnator src

Local

local instalation for the especific project

# yarn 
$ yarn add docnator
 
# npm 
$ npm install docnator

Usage

$ node_modules/docnator/bin/docnator.js src
# you can create a script in your package.json 
# ex: "docnator:build": "node_modules/docnator/bin/docnator.js src" 

Commands

build

comand for generate the documentation.

$ docnator <target> [summaryPath] [extension]
# ex: docnator lib js 
arg description required default value
target source files directory true null
summaryPath path of SUMMARY.md false ./SUMMARY.md
extension define the exclusive extension file false js, jsx

server

create a local server with gitbook for your documentations, use git book CLI

Motivation

Docnator has be created to use jsdocs in javascript documentation with gitbook for developers reference. This frameworks are most easy to use and bring great help for developer community.

Package Sidebar

Install

npm i docnator

Weekly Downloads

1

Version

0.3.3

License

MIT

Unpacked Size

519 kB

Total Files

23

Last publish

Collaborators

  • agrotis