/lexicon

Primary LanguageJavaScriptMIT LicenseMIT

lexicon

api documentation generator

Getting Started

Install the module with: npm install lexicon

Using from the commandline

lexicon file1.js file2.js file3.js -f json > doc.json
lexicon file1.js file2.js file3.js -f markdown > doc.md
lexicon -i src -o docs -f markdown

Using the API

var lexicon = require('lexicon'),
	parser = lexicon.parser,
	formatter = lexicon.formatter;
console.log(formatter.format(parser.parse(code), 'markdown'));

Documentation

(Coming soon)

Examples

(Coming soon)

Testing

Testing is done using buster thru grunt-buster plugin.

grunt buster or simply grunt which will run the code with lint.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

(Nothing yet)

License

Copyright (c) 2012 kates
Licensed under the MIT license.