atomdoc-md
Markdown generator for atomdoc. Uses donna and tello.
See samples here.
Installation
Install with npm
npm install -g atomdoc-md
Examples
Generate docs
atomdoc-md generate <path to module>
Usage
Command Line
atomdoc-md generate <module>
Options:
--doc, -o docs directory [default: "doc"]
--level, -l log level [choices: "debug", "verbose", "info", "warn", "error"] [default: "info"]
--template template name [default: "api"]
--meta write donna (donna.json) and tello (tello.json) metadata to doc dir
--name, -n generated file name [default: "api.md"]
From Node
AtomdocMD = require 'atomdoc-md' generator = options ;generatorgenerateMarkdown
README.md
Generate # From the project's root
atomdoc-md generate -o . -n README.md .
Importing Files
The default template api
will include files intro.md
and appendix.md
into the output.
The files must be located in the --doc
docs directory.
API
Class | Summary |
---|---|
MarkdownGenerator |
Generates markdown from atomdoc/tello's metadata |
MarkdownGeneratorCLASS
Generates markdown from atomdoc/tello's metadata
Methods |
|||
:: constructor( opt ) |
public | instance | MarkdownGenerator |
| |||
:: generateMarkdown( ) |
public | instance | MarkdownGenerator |
|
License
See LICENSE.
Markdown generated by [atomdoc-md](https://github.com/venkatperi/atomdoc-md).