grunt-doxer

0.2.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i grunt-doxer

Weekly Downloads

0

Version

0.2.0

License

ISC

Last publish

Collaborators

  • harscoet