Uses laxar_dox to output API documentation in markdown format.
Run this task with the grunt laxar_dox
command.
Task targets, files and options may be specified according to the grunt Configuring tasks guide.
None
grunt.initConfig( {
laxar_dox: {
lib: {
files: {
'docs/api.md': [ 'lib/**/*.js' ]
}
}
}
} );
grunt.initConfig( {
laxar_dox: {
lib: {
files: {
expand: true,
cwd: 'lib',
src: 'lib/**/*.js',
dest: 'docs/api/',
ext: '.md'
}
}
}
} );