krampstudio/grunt-jsdoc-plugin — pull request #8 by metmajer (2013-01-02 19:32:48+00:00)
Title: Add support for jsdoc config file path inclusion in task config

The following patch adds an additional, optional property `config` to the task config which allows the user to include a JSDoc config file path:

### Example:
```javascript
jsdoc: {
compile: {
config: "jsdoc.json",
src: ["src/**/*.js"],
dest: "docs/jsdoc"
}
}
```

A JSDoc config file can be used to allow markdown in JSDoc tags, see the [Use JSDoc: How To Use the Markdown Plugin](http://usejsdoc.org/plugins-markdown.html) page for more information.

### Sample JSDoc Configuration
The sample is heavily based on [jsdoc's conf.json.EXAMPLE](https://github.com/jsdoc3/jsdoc/blob/master/conf.json.EXAMPLE) and uses the GitHub Flavored Markdown parser plugin.
```javascript
{
"tags": {
"allowUnknownTags": true
},
"source": {
"includePattern": ".+\\.js(doc)?$",
"excludePattern": "(^|\\/|\\\\)_"
},
"plugins": ["plugins/markdown"],
"markdown": {
"parser": "gfm"
},
"templates": {
"cleverLinks": false,
"monospaceLinks": false
},
"jsVersion": 180
}
```