First of all, install gulp and gulp-jsdoc3 to your project:
npm install gulp-jsdoc3 --save-dev
Then add it to your gulpfile.js
var gulp = require('gulp');
var jsdoc = require('gulp-jsoc3');
gulp.task('doc', function (cb){
gulp.src('src/*.js')
.pipe(jsdoc(cb));
});
In order...