exclude top level index.jade from being copied when generating api docs.
This commit is contained in:
parent
080c86eab2
commit
53323851f8
|
@ -252,7 +252,7 @@ function buildApiDocs() {
|
||||||
try {
|
try {
|
||||||
var dgeni = new Dgeni([require('./public/api-builder/angular.io-package')]);
|
var dgeni = new Dgeni([require('./public/api-builder/angular.io-package')]);
|
||||||
return dgeni.generate().then(function() {
|
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'));
|
.pipe(gulp.dest('./public/docs/ts/latest/api'));
|
||||||
})
|
})
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
|
|
Loading…
Reference in New Issue