doks
Version:
A configurable, bring-your-own-template documentation generator aimed for user and developer documentation based on source code.
37 lines (32 loc) • 681 B
JavaScript
/***
* @desc This class does math-like things.
*
* @name MathExample
* @type Class
*/
/***
* @desc Adds two numbers together. Here, we specify the type of the parameters.
*
* @name add
* @type Function
* @param {Number} a (The first number)
* @param {Number} b (The second number)
* @return {Number} a+b (The result of a+b)
*/
/***
* Divide two numbers.
* This is a multiline message spanning two lines.
*
* @param a (The first number)
* @param b (The second number)
* @return a+b
*/
/***
* @desc Multiply two numbers.
* This is a multiline message spanning
* 3 lines.
*
* @param a (The first number)
* @param b (The second number)
* @return a+b
*/