Skip to content

nanymor/grunt-doccoh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-doccoh

Grunt Doccoh plugin. Use Doccoh instead of Docco.

Getting Started

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');

Config Examples

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

Short
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'
    }
  }
}

Parameters

src string | array

This defines which files will be documented.

options object

Docco options:

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

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

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

License

Licensed under the MIT license.

About

Docco task for Grunt.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%