Documentation for API
Generates a RESTful web API Documentation., (*1)
Documentation at apidocjs.com., (*3)
Example output., (*4)
npm install apidoc -g
, (*5)
javascript
/**
* @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.
*/
, (*6)
apidoc -i example/ -o doc/
, (*7)
Creates from input files in example/
a documentation in path doc/
., (*8)
C#, Go, Dart, Java, JavaScript, PHP (all DocStyle capable languages):, (*9)
/** * This is a comment. */
CoffeeScript:, (*10)
### This is a comment. ###
Erlang:, (*11)
%{ This is a comment. %}
Perl, (*12)
#** # This is a comment. #*
=pod This is a comment. =cut
Python, (*13)
""" This is a comment. """
Ruby, (*14)
=begin This is a comment. =end
grunt-apidoc npm install grunt-apidoc
., (*15)
CHANGELOG.md, (*16)
Please add issues if you have a question or found a problem. Pull requests are welcome too!, (*17)
A chat about apiDoc is on Gitter., (*18)
Copyright (c) 2013-2014 inveris OHG, (*20)
Author Peter Rottmann rottmann@inveris.de, (*21)
Licensed under the MIT license., (*22)