jsdoc-parse
jsdoc-parse copied to clipboard
parses jsdoc documentation from javascript or html files, outputs JSON
This is an attempt to resolve the downstream issue I just filed, https://github.com/jsdoc2md/jsdoc-to-markdown/issues/270 - see that issue for more details, but the short is, if we're parsing the following file:...
**eg.** ``` /** * some doc * @type {boolean} */ static modeChangeEnabled ``` **is** name:"modeChangeEnabled" longname:"**Camera#modeChangeEnabled**" kind:"member" memberof:"Camera" scope:"**instance**" **but should be** name:"modeChangeEnabled" longname:"**Camera.modeChangeEnabled**" kind:"member" memberof:"Camera" scope:"**static**" ps. I am...
I ran into [this](https://github.com/jsdoc2md/jsdoc-to-markdown/issues/73) issue where `@example` tags on class docs get ignored if a description (tagless description or `@description` -- not `@classdesc`) is not included. Based on [this line](https://github.com/jsdoc2md/jsdoc-parse/blob/master/lib/transform.js#L126)...
Add support for @hideconstructor. Remove constructor when this JSDoc attribute is defined on a class.
This fixes addresses the [linked issue](https://github.com/jsdoc2md/jsdoc-parse/issues/33): ```javascript /** * @class LinkedList * * @example * const linkedList = new LinkedList(); */ class LinkedList { ``` jsdoc-parse currently ignores the example...
When I add a `@file` comment to a file, it doesn't show in the Markdown. Example: ```js /** * @file This is my file comment. */ /** * This is...