insure that the api docs appear under both public/docs/JS/latest and public/docs/TS/latest

This commit is contained in:
Jay Traband 2015-10-02 09:57:15 -07:00
parent 9f5b6d2353
commit bb19588676
3 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@ typings
.DS_Store .DS_Store
.idea .idea
**/js/latest/api **/js/latest/api
**/ts/latest/api
**/docs/_fragments **/docs/_fragments
public/docs/xref-*.* public/docs/xref-*.*

View File

@ -236,7 +236,10 @@ function apiSourceWatch(postShredAction) {
function buildApiDocs() { 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(); return dgeni.generate().then(function() {
return gulp.src('./public/docs/js/latest/api/**/*.*')
.pipe(gulp.dest('./public/docs/ts/latest/api'));
})
} catch(err) { } catch(err) {
console.log(err); console.log(err);
console.log(err.stack); console.log(err.stack);

View File

@ -0,0 +1 @@
include ../../../_includes/_util-fns