From 53323851f82e5ec63f1627a45bee9fc6fc351d02 Mon Sep 17 00:00:00 2001 From: Jay Traband Date: Tue, 27 Oct 2015 13:21:31 -0700 Subject: [PATCH] exclude top level index.jade from being copied when generating api docs. --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 425508cff5..40f705c67b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -252,7 +252,7 @@ function buildApiDocs() { try { var dgeni = new Dgeni([require('./public/api-builder/angular.io-package')]); return dgeni.generate().then(function() { - return gulp.src('./public/docs/js/latest/api/**/*.*') + return gulp.src(['./public/docs/js/latest/api/**/*.*', '!./public/docs/js/latest/api/index.jade']) .pipe(gulp.dest('./public/docs/ts/latest/api')); }) } catch(err) {