|  | пре 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-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.