gulp-jsx-docco

0.0.4 • Public • Published

gulp-jsx-docco

docco plugin for gulp

JSX support added

This module added jsx support to gulp-docco

Install gulp-jsx-docco as a development dependency:

npm install --save-dev gulp-jsx-docco

Then, add it to your gulpfile.js:

var docco = require("gulp-jsx-docco");
 
gulp.src("./src/*.js")
  .pipe(docco())
  .pipe(gulp.dest('./documentation-output'))

That's it.

API

options

Additionally, we support passing an options object following the docco syntax:

var docco = require("gulp-jsx-docco");
 
gulp.src("./src/*.js")
  .pipe(docco(options))
  .pipe(gulp.dest('./documentation-output'))

Mainly of interest are the various embedded layouts (parallel, linear, classic), and custom template support.

Caveats?

We bypass some of docco internals in order to prevent it from manipulating files on its own - if something is broken, say so!

License

MIT License

Package Sidebar

Install

npm i gulp-jsx-docco

Weekly Downloads

0

Version

0.0.4

License

MIT

Last publish

Collaborators

  • realmike33