grunt-doccoh

Grunt Doccoh plugin. A fork of grunt-docco.

grunt-doccoh

Grunt Doccoh plugin. Use Doccoh instead of Docco.

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

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

grunt.loadNpmTasks('grunt-doccoh');

There are two formats you can use to run this task.

doccoh: {
  src: ['*js', 'path1/**/*js', 'path2/**/*js']
}```
 
##### Long (specific targets with optional target options)
 
``` javascript
doccoh: {
  app: {
    src: ['*js', 'path1/**/*js', 'path2/**/*js'],
    options: {
      output: 'dir'
    }
  }
}

This defines which files will be documented.

Docco options:

  • css file use a custom css file
  • output path use a custom output path
  • template file use a custom .jst template

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.

  • 2012/10/29 - v0.1.3 - Renamed from grunt-docco to grunt-doccoh. Enhanced documentation. Use doccoh instead of docco.

Licensed under the MIT license.