jsdoc conf.json destination being ignored
RecuencoJones opened this issue · 1 comments
RecuencoJones commented
I have the following jsdoc.conf.json file:
{
"opts": {
"destination": "doc"
},
"tags": {
"allowUnknownTags": true
},
"plugins": ["plugins/markdown"],
"markdown": {
"parser": "gfm",
"hardwrap": true
}
}
and gulp task:
var gulp = require('gulp'),
jsdoc = require('gulp-jsdoc3'),
config = require('../config/jsdoc.conf.json');
gulp.task('jsdoc', function() {
return gulp.src('app/**/*.js')
.pipe(jsdoc(config));
});
gulp.task('doc:js', ['jsdoc']);
gulp.task('doc', ['doc:js']);
After the task is done running, jsdoc files are placed under docs/
folder, which looks like the default one.
Am I doing anything wrong?
RecuencoJones commented
Nevermind, it was all due to not including the callback function and using return...