|
4 سال پیش | |
---|---|---|
.. | ||
bin | 4 سال پیش | |
example | 4 سال پیش | |
lib | 4 سال پیش | |
template | 4 سال پیش | |
.jshintignore | 4 سال پیش | |
CHANGELOG.md | 4 سال پیش | |
CONTRIBUTORS.md | 4 سال پیش | |
EXAMPLES.md | 4 سال پیش | |
LICENSE | 4 سال پیش | |
MARKDOWN.md | 4 سال پیش | |
README.md | 4 سال پیش | |
package.json | 4 سال پیش |
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-schema
pip install flask-apidoc
npm 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.