Generate node.js API markdown with dox
Source: lib/apidox/index.js
Reference to ApiDox.
Create a new ApiDox.
Return:
{object}
Extend ApiDox.prototype.
Parameters:
{object} ext
Return:
{object}
Merge result.
ApiDox constructor.
Usage:
var dox = require('apidox').create();
var markdown = dox
.set('input', '/path/to/source.js')
.set('output', '/path/to/output.md')
.parse()
.convert();
Configuration:
{string} input
Source file to read{string} inputText
Alternative toinput
{string|boolean} [inputTitle=input]
CustomizeSource: ...
link textfalse
: OmitSource: ...
entirely from markdownstring
: Set link text (does not affect link URL)
{string} output
Markdown file to write
Properties:
{object} anchors
Keys are object paths which already have anchors- For duplicate prevention
{array} comments
Filtered dox-provided objects to convert{string curSection
Current section being converted, ex. 'Klass.prototype'.{object} fileComment
First dox-provided comment found in the file{array} lines
Markdown lines{object} params
Collected@param
meta indexed by method name{array} types
Type names{string} description
First line{array} overflow
Additional lines
{object} returns
Collected@return
metadata indexed by method name{array} types
Type names{string} description
First line{array} overflow
Additional lines
{array} sees
Collected@see
lines{array} toc
Collected table-of-contents metadata objects{string} title
Link title{string} url
Link URL
{array} throws
Collected@throws
lines
Go: TOC
Parse the source file.
Parameters:
{string} file
Return:
{object}
this
Go: TOC | ApiDox.prototype
Convert comments to markdown.
Return:
{string}
Go: TOC | ApiDox.prototype
—generated by apidox—