New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow modules to be split across files #515
Comments
Thanks a lot for the quick reply! |
Wow! Exactly what I'm looking for to do more simple module members definition. |
@hegemonic Has there been any progress on this? We use JSDoc-style comments extensively in our codebase, but often a module is comprised of several files. Being able to prevent duplication of comments (i.e., not having to create virtual comments in the main export), would be highly beneficial. |
I too would like to see some action on this. It generates several entries for namespaces, each duplicating the namespace generated code. Seems more of a bug, than a feature at this point? |
+1 |
I found this solution works #1002 (comment) |
Update leafmodule tag to prevent current behaviour of module duplication due to creating multiple module tage with the same name. Update leafmodule tag to instead add memberof tags to all relevant jsdoc comments in a given file, thus adding all documented symbols to the desired module without duplication. Resolves following issues discussed in jsdoc: - jsdoc/jsdoc#515 - jsdoc/jsdoc#1002
Right now it's not possible to split a module definition across multiple JS files. It would be useful if that were possible.
We should think about how to implement this in a way that also helps with #272.
Originally reported by @nenaraab as jsdoc/jsdoc.github.io#44:
The text was updated successfully, but these errors were encountered: