All regular rules of JSDoc apply to Highcharts doclets. Highcharts doclets also use custom tags to document the Highcharts options tree.
The custom implementations have the following requirements:
-
The
@internalor@privatetags should be the first or last tags in doclets. -
The tags
@apioptionand@optionparenthave to come last in a doclet. Exception to this rule is the@privatetag. -
All non-basic types have to be defined with
@callback,@class,@interfaceor@type. -
All non-basic types have to begin with
Highcharts.. -
A doclet with
@optionparenttag has to be followed by a line with opening curly bracket. -
@extendswill merge from a set of options into the@optionparent. Default values will be not inherited. Also@extendsdoes not work with@apioption. -
@productdescadds additional product-specific information to the initial doclet text. The first word following the tag has to be the product key in curly brackets. -
@sinceand@deprecatedsupport usage ofnextas the version number that is resolved on the next release when the next code version is known.