Strange parsing issue(?)
takase1121 opened this issue · 5 comments
takase1121 commented
onury commented
JSDoc does not care about the file structure. It's about class/namespace hierarchy.
Docma tree outline shows that the hierarchy is not correctly documented with JSDoc.
Make sure your parse()
function is a child of DocLoader
.
One way is this:
/**
* Some description...
* @name DocLoader.parse
* @function
*/
parse() {
// ...
}
or you could use @memberof
..
Pls consult JSDoc documentation.
takase1121 commented
none of your suggestion worked. Here is a snippet of code I had.
export class DocLoader {
/**
* Parses a file
* @param {string} filename The filename to parse
*/
static async parse(filename) {
...
}
}
I really can't find out where's the issue
onury commented
It seems you didn't document DocLoader
.
takase1121 commented
How do I do that?
takase1121 commented
Thanks for your help. Apparently I just have to document the classes with @class
tag now it works fine.