npm.io
0.2.0 • Published 12 years agoCLI

grunt-doxer

Licence
ISC
Version
0.2.0
Deps
4
Vulns
0
Weekly
0

grunt-doxer

dox grunt plugin

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-doxer

Then add this line to your project's grunt.js gruntfile:

grunt.loadNpmTasks('grunt-doxer');

Update your grunt.js gruntfile

grunt.initConfig({
	...
	doxer: {
		all: {
			src: ["src/lib/**/*.js"],
			dest: "docs",
			options: {
				format: "html", // or "json" or "md" defaults to html
				title: "Doxer API" // defaults to API
			}
		}
	}
	...
})

To generate the API docs, run:

grunt doxer

API docs are in docs directory.

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.

License

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

Keywords