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
Share JSDoc configs? #150
Comments
I had written a JSDoc plugin that let us write our own funky JSDoc, but no longer works with the latest JSDoc. :( You should still be able to use out-of-the-box JSDoc with T3, though. I think the best approach is to follow the advice for AMD modules, which is here: http://usejsdoc.org/howto-amd-modules.html |
I found something strange. I am able to document the methods after the return statement ( the public ones ), but I'm not able to document the private ones (before the return inside addModule()). Am I doing something wrong? |
I'm fairly sure that JSDoc will only produce documentation on the public interface (which is what you are seeing). Private function documentation helps for maintenance and readability. If you have examples where JSDoc documents private closures, can you post the example here? |
No I wasn't able to make it document my private functions, but I saw that when you make mistakes while documenting the private closure, for ex. you write |
Stupid me.. I just had to add |
FWIW, Here are the JSDoc tags I found which were closest to my desired /**
On Tue, Feb 9, 2016 at 5:12 AM, Ardit Meti notifications@github.com wrote:
Adam Platti skype: adamplatti |
Ah nice! Thanks for the info. |
@ardit: Are you willing to share any of your code? I am also working on a @nicholas: If you are willing to share the JSDoc plugin you wrote, I could On Mon, Feb 15, 2016 at 8:22 AM, Ardit Meti notifications@github.com
Adam Platti skype: adamplatti |
@aplatti I know this is the worst way how to modify the code but I didn't have much time and needed to be done quickly. I modified a couple of files at the jsdoc directories and modified the template/publish.js at the docstrap template here are the links: The tags are: @module, @behavior and @service |
Hey guys, just wanted to keep this thread updated with what I've learned. It looks to me like it is impossible to change the categories that JSDoc3 So, instead of forking, I decided to use the tags I showed earlier in this Let me know if anyone comes up with something better. Thanks, On Tue, Feb 16, 2016 at 11:45 AM, Adam Platti adam@webuidude.com wrote:
Adam Platti skype: adamplatti |
Hi guys! I miss working with you, but I'm still using T3 on a daily basis with my clients!! :)
I'm wondering if there is a way you can share some of your JSDoc configurations for Modules, Services, and Behaviors. I'm having a really hard time trying to setup the proper tags so that all of my modules, services, and behaviors get grouped together in the documentation.
Can you offer any guidance for tools, configs, and jsdoc tags that would allow me to have namespaces for "Modules", "Services", and "Behaviors", and then have those contain all of the classes of those types?
Thanks!
Adam
The text was updated successfully, but these errors were encountered: