Documentation on how to fix this was scarce - everyone seemed to have a slightly different use case – so here’s what we came up with after some trial and error runs with various JSDoc keywords.
JSDoc wouldn’t recognize
Urlify as part of the
Absolventa namespace, nor would it find
Absolventa.Urlify.init() static method.
Behold the necessary JSDoc tags to tie it all together:
Et voilá! All inner functions must be declared with a
@memberof! and a
@function <name> tag. Note that it defines namespaces where we would refer to
it as modules, but it’s just for the sake of documentation … and it’s a
namespace after all.