How jsdoc2md works - jsdoc2md/jsdoc-to-markdown GitHub Wiki
This is the main use case (render documentation) sequence:
- User runs
jsdoc2md example.js
. - jsdoc-api is used to obtain the raw jsdoc data for the input source code provided.
- this data is transformed into something suitable for passing into a template by jsdoc-parse (which also adds support for the jsdoc2md-specific tags like
@typicalname
,@done
,@category
etc). - the resulting template data is passed into dmd (the default output template). This output is returned to the user.