Skip to content

Commit 4275747

Browse files
chore(git): add missing file
1 parent 8a8a50d commit 4275747

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

build/tasks/doc.js

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
var gulp = require('gulp');
2+
var tools = require('aurelia-tools');
3+
var paths = require('../paths');
4+
var yuidoc = require('gulp-yuidoc');
5+
6+
gulp.task('doc-generate', function(){
7+
return gulp.src(paths.source)
8+
.pipe(yuidoc.parser(null, 'api.json'))
9+
.pipe(gulp.dest(paths.doc));
10+
});
11+
12+
gulp.task('doc', ['doc-generate'], function(){
13+
tools.transformAPIModel(paths.doc);
14+
});

0 commit comments

Comments
 (0)