From a8c310f06593ffd2f4f4de1be9e50d34002d99a3 Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Sun, 30 Aug 2015 21:16:16 +0200 Subject: [PATCH] gulp-my-tasks: exclude stubs from ngdocs --- gulp/gulp-my-tasks/tasks/tasks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' }}) -- 2.1.4