-
Notifications
You must be signed in to change notification settings - Fork 99
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
wrong display of split module #44
Comments
This would be useful! Right now, though, it's not possible to split a module's documentation across two files. The best alternative is to document one of the files normally, then use the For example, if you have a module called /** @module my/module */
/** @class */
exports.MyClass = function() {};
// defined in my/module_extras.js
/**
* @class
* @name MyOtherClass
* @memberof module:my/module
*/ I'll file a ticket for this feature request in the |
Hi Jeff, Kind regards, This would be useful! Right now, though, it's not possible to split a module's documentation across two files. The best alternative is to document one of the files normally, then use the @name tag to create "virtual doclets" for the members that are defined in the other source file. For example, if you have a module called my/module that's defined in both my/module.js and my/module_extras.js, you could document my/module.js like so: /** @module my/module */ /** @Class */ exports.MyClass = function() {}; // defined in my/module_extras.js /** I'll file a ticket for this feature request in the jsdoc3/jsdoc project, which is the right place for JSDoc bugs and feature requests. (This project is used for the documentation.) — |
Hi,
we have a module which loads another file. In both files we have objects we want to document. It should be documented as one module. So we set "@module mymodule" in both files. The generated documentation looks fine in general but is displays the
Tested with 3.3.0-dev and 3.2.1.
Thanks a lot for your support,
Nena & Christoph
The text was updated successfully, but these errors were encountered: