Skip to content

englishtown/lexicon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lexicon

api documentation generator

Build Status

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)

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

0.2.11 fixed missing square brackets in optional params

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published