gulp-raml2html
A simple RAML to HTML documentation generator.
If you have any difficulties with the output of this plugin, please use the raml2html tracker.
Install via npm:
npm install gulp-raml2html --save-dev
Note that this plugin wraps raml2html.
var gulp = require('gulp');
var raml2html = require('gulp-raml2html');
gulp.task('apidoc', function() {
return gulp.src('api.raml')
.pipe(raml2html())
.pipe(gulp.dest('build'));
});
Type: boolean
Default value: false
When set to true
it also takes JSON files as input (generated by the RAML parser).
The code for gulp-raml2html is licensed under the MIT license. See license.txt
file for more info.