From: Gustavo Martin Morcuende Date: Sun, 30 Aug 2015 19:16:16 +0000 (+0200) Subject: gulp-my-tasks: exclude stubs from ngdocs X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=a8c310f06593ffd2f4f4de1be9e50d34002d99a3;p=JavaScriptForFun gulp-my-tasks: exclude stubs from ngdocs --- diff --git a/gulp/gulp-my-tasks/tasks/tasks.js b/gulp/gulp-my-tasks/tasks/tasks.js index 1021010..fb93d1a 100644 --- a/gulp/gulp-my-tasks/tasks/tasks.js +++ b/gulp/gulp-my-tasks/tasks/tasks.js @@ -355,7 +355,7 @@ module.exports = function(gulp, customConfig) { }; return gulpDocs.sections({ api: { - glob:['src/**/*.js', '!src/**/*.spec.js'], + glob:['src/**/*.js', '!src/**/*.spec.js', '!src/*/{stubs,stubs/**}'], api: true, title: 'API Documentation' }})