insure that the api docs appear under both public/docs/JS/latest and public/docs/TS/latest
This commit is contained in:
parent
9f5b6d2353
commit
bb19588676
|
@ -6,6 +6,7 @@ typings
|
|||
.DS_Store
|
||||
.idea
|
||||
**/js/latest/api
|
||||
**/ts/latest/api
|
||||
**/docs/_fragments
|
||||
public/docs/xref-*.*
|
||||
|
||||
|
|
|
@ -236,7 +236,10 @@ function apiSourceWatch(postShredAction) {
|
|||
function buildApiDocs() {
|
||||
try {
|
||||
var dgeni = new Dgeni([require('./public/api-builder/angular.io-package')]);
|
||||
return dgeni.generate();
|
||||
return dgeni.generate().then(function() {
|
||||
return gulp.src('./public/docs/js/latest/api/**/*.*')
|
||||
.pipe(gulp.dest('./public/docs/ts/latest/api'));
|
||||
})
|
||||
} catch(err) {
|
||||
console.log(err);
|
||||
console.log(err.stack);
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
include ../../../_includes/_util-fns
|
Loading…
Reference in New Issue