Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb19588

Browse files
committed
insure that the api docs appear under both public/docs/JS/latest and public/docs/TS/latest
1 parent 9f5b6d2 commit bb19588

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ typings
66
.DS_Store
77
.idea
88
**/js/latest/api
9+
**/ts/latest/api
910
**/docs/_fragments
1011
public/docs/xref-*.*
1112

gulpfile.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,10 @@ function apiSourceWatch(postShredAction) {
236236
function buildApiDocs() {
237237
try {
238238
var dgeni = new Dgeni([require('./public/api-builder/angular.io-package')]);
239-
return dgeni.generate();
239+
return dgeni.generate().then(function() {
240+
return gulp.src('./public/docs/js/latest/api/**/*.*')
241+
.pipe(gulp.dest('./public/docs/ts/latest/api'));
242+
})
240243
} catch(err) {
241244
console.log(err);
242245
console.log(err.stack);

public/docs/ts/latest/_util-fns.jade

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include ../../../_includes/_util-fns

0 commit comments

Comments
 (0)