Closed
Description
Looking at #9 it says @description
tag is supported. I can't seem to get it to show up using either ~3.0.0
or ~4.0.0-beta
and the default template.
Sample code:
/**
* Returns number x 2
*
* @description Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
* labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
* aliquip ex ea commodo consequat.
*
* @param {number} num - number to double
* @returns {number} the number doubled
*/
module.exports = function(num) {
return num * 2;
}
Should this work? Basically I would like to have a shorter description (ie @summary
which doesn't seem to be supported yet?) and then once the documentation section expanded, the greater detail (@description
). @desc
also gets ignored.
Thanks