gulp-my-tasks: exclude stubs from ngdocs
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 30 Aug 2015 19:16:16 +0000 (21:16 +0200)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 30 Aug 2015 19:16:16 +0000 (21:16 +0200)
gulp/gulp-my-tasks/tasks/tasks.js

index 1021010..fb93d1a 100644 (file)
@@ -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'
       }})