Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Sep 25, 2018. It is now read-only.
/gulp-apidocPublic archive

📄 RESTful web API Documentation Generator

NotificationsYou must be signed in to change notification settings

c0b41/gulp-apidoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

this package is no longer supported, use thewebpack plugin instead

gulp-apidoc

npm-versiondownload-countdev-deps

Generates a RESTful web API Documentationusing theapidoc library.

How It Works

/path/api/stuff.js:

/** *@api {get} /user/:id Request User information *@apiName GetUser *@apiGroup User * *@apiParam {Number} id Users unique ID. * *@apiSuccess {String} firstname Firstname of the User. *@apiSuccess {String} lastname  Lastname of the User. */

Install

Install withnpm

npm install --save-dev gulp-apidoc

Usage

vargulp=require('gulp'),apidoc=require('gulp-apidoc');gulp.task('apidoc',function(done){apidoc({src:"example/",dest:"build/"},done);});

With options:

vargulp=require('gulp'),apidoc=require('gulp-apidoc');gulp.task('apidoc',function(done){apidoc({src:"example/",dest:"build/",template:"template/",debug:true,includeFilters:[".*\\.js$"]},done);});

Other optionscheckout.

Options

options.src

The folder to scan for apidoc documentation.

Type:String

options.dest

The folder where to output the generated files.

Type:StringDefault:doc/

options.template

Custom template to use for the output files.

Type:String

options.config

Type:StringDefault:options.src

options.debug

Type:BooleanDefault:false

options.silent

Type:BooleanDefault:false

options.verbose

Type:BooleanDefault:false

options.simulate

Type:BooleanDefault:false

options.includeFilters

Type:ArrayDefault:[]

About

📄 RESTful web API Documentation Generator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp