exclude top level index.jade from being copied when generating api docs.

This commit is contained in:
Jay Traband 2015-10-27 13:21:31 -07:00 committed by Naomi Black
parent 080c86eab2
commit 53323851f8
1 changed files with 1 additions and 1 deletions

View File

@ -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) {