|
|
4 năm trước cách đây | |
|---|---|---|
| .. | ||
| bin | 4 năm trước cách đây | |
| example | 4 năm trước cách đây | |
| lib | 4 năm trước cách đây | |
| template | 4 năm trước cách đây | |
| .jshintignore | 4 năm trước cách đây | |
| CHANGELOG.md | 4 năm trước cách đây | |
| CONTRIBUTORS.md | 4 năm trước cách đây | |
| EXAMPLES.md | 4 năm trước cách đây | |
| LICENSE | 4 năm trước cách đây | |
| MARKDOWN.md | 4 năm trước cách đây | |
| README.md | 4 năm trước cách đây | |
| package.json | 4 năm trước cách đây | |
Generates a RESTful web API Documentation.
Changes from previous version visit CHANGELOG.md
apiDoc creates a documentation from API descriptions in your source code.
Documentation at apidocjs.com or as Docset.
Example output.
npm install apidoc -g
/**
* @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.
*/
apidoc -i example/ -o doc/
Creates from input files in example/ a documentation in path doc/.
More examples and best practice hints: EXAMPLES.md
/**
* This is a comment.
*/
;;;;
;; This is a comment.
;;;;
###
This is a comment.
###
%{
This is a comment.
%}
#**
# This is a comment.
#*
=pod
This is a comment.
=cut
"""
This is a comment.
"""
=begin
This is a comment.
=end
apiDoc will auto include installed plugins.
npm install apidoc-plugin-schemapip install flask-apidocnpm install grunt-apidoc.npm install gapidoc.npm install gulp-apidoc.npm install gulp-apidocjs.For details and an example view apidoc-plugin-test
Please add issues if you have a question or found a problem. Pull requests are welcome too!
A chat about apiDoc is on Gitter.