mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 06:38:17 +00:00
[API] Render API docs to HTML
This commit is contained in:
@ -148,9 +148,11 @@ gulp.task('watch', function () {
|
||||
gulp.task('api', function () {
|
||||
var jsdoc2md = require('gulp-jsdoc-to-markdown');
|
||||
var concat = require('gulp-concat');
|
||||
var markdown = require('gulp-markdown');
|
||||
return gulp.src('src/**/*.js')
|
||||
.pipe(concat('api.md'))
|
||||
.pipe(jsdoc2md())
|
||||
.pipe(markdown())
|
||||
.pipe(gulp.dest(paths.dist));
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user