Exemple #1
0
gulp.task("docs:api", function () {
  gulp
    .src("chai-jq.js")
    .pipe(mdox({
      src: "README.md",
      name: "README.md",
      start: "## Plugin API",
      end: "## Contributions"
    }))
    .pipe(gulp.dest("./"));
});
gulp.task("docs", function () {
  return gulp
    .src([
      "lib/**/*.js"
    ])
    .pipe(mdox({
      src: "./README.md",
      name: "README.md",
      start: "## Plugins",
      end: "## Contributions"
    }))
    .pipe(gulp.dest("./"));
});