# gulp-api-doc-copy

> RESTful web API Documentation Generator for Gulp

Latest version **1.1.1** (published 2017-02-28) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install gulp-api-doc-copy
pnpm add gulp-api-doc-copy
yarn add gulp-api-doc-copy
bun add gulp-api-doc-copy
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2017-02-28 |
| First published | 2017-02-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | Sam Verschueren |
| Maintainers | huixisheng |
| Keywords | apidoc, gulp, documentation, doc, api |

## Links

- npm: https://www.npmjs.com/package/gulp-api-doc-copy
- Repository: https://github.com/SamVerschueren/gulp-api-doc
- Issues: https://github.com/SamVerschueren/gulp-api-doc/issues
- npm.io page: https://npm.io/package/gulp-api-doc-copy

## Dependencies (6)

- [file](https://npm.io/package/file.md) ^0.2.2
- [apidoc](https://npm.io/package/apidoc.md) ^0.17.5
- [tempfile](https://npm.io/package/tempfile.md) ^1.1.1
- [through2](https://npm.io/package/through2.md) ^2.0.0
- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.4
- [file-exists](https://npm.io/package/file-exists.md) ^1.0.0

## Alternatives

- [@cantoo/pdf-lib](https://npm.io/package/@cantoo/pdf-lib.md) — 297.9K weekly downloads
- [datatables.net-buttons](https://npm.io/package/datatables.net-buttons.md) — 200.1K weekly downloads
- [@ckeditor/ckeditor5-export-pdf](https://npm.io/package/@ckeditor/ckeditor5-export-pdf.md) — 167.0K weekly downloads
- [scanbot-web-sdk](https://npm.io/package/scanbot-web-sdk.md) — 15.0K weekly downloads
- [@syncfusion/ej2-angular-pdfviewer](https://npm.io/package/@syncfusion/ej2-angular-pdfviewer.md) — 8.8K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2017-02-28

## README

# gulp-api-doc [![Build Status](http://img.shields.io/travis/SamVerschueren/gulp-api-doc.svg)](https://travis-ci.org/SamVerschueren/gulp-api-doc)

> Generates a RESTful web API Documentation with [apiDoc](https://github.com/apidoc/apidoc).

## Installation

```
npm install --save-dev gulp-api-doc
```

## Usage

Generate documentation for the entire `controllers` directory.

```js
const gulp = require('gulp');
const apidoc = require('gulp-api-doc');

gulp.task('doc', () => {
    return gulp.src('controllers')
        .pipe(apidoc())
        .pipe(gulp.dest('documentation'));
});
```

Generate documentation for all the `controllers`, except for the ones in the `auth` folder and don't parse markdown statements.

```js
gulp.task('doc', () => {
    return gulp.src(['controllers/**/*.js', '!controllers/auth/*.js'])
        .pipe(apidoc({markdown: false}))
        .pipe(gulp.dest('documentation'));
});
```

### Options

- **template**: Directory with the template files.
- **debug (false)**: Show debug output.
- **silent (false)**: Hide log output.
- **markdown (true)**: Parse markdown statements in the documentation.
- **marked**
    - **gfm (true)**: [Github flavored markdown](https://help.github.com/articles/github-flavored-markdown/).
    - **tables (true)**: Enables Github flavored markdown [tables](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#wiki-tables). This option requires ```gfm``` to be true.
    - **breakes (false)**: Enabled Github flavored markdown [line breaks](https://help.github.com/articles/github-flavored-markdown#newlines).
    - **pedantic (false)**: Conform to obscure parts of [markdown.pl](http://markdown.pl) as much as possible. Don't fix any of the original markdown bugs or poor behavior.
    - **sanitize (false)**: Sanitize the output. Ignore any HTML that has been input.
    - **smartLists (true)**: Use smarter list behaviour than the original markdown.
    - **smartypants (false)**: Use "smart" typographic punctuation for things like quotes and dashes.

## License (MIT)

MIT © [Sam Verschueren](http://github.com/SamVerschueren)

---
_Source: https://npm.io/package/gulp-api-doc-copy · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
