Hacker News new | ask | show | jobs
by euroclydon 5517 days ago
Straight up question: How do you build source code documentation?

I use jsDoc (closure compiler's version, with data annotations). Because of this, I can't wrap all my code in a closure, which seems so popular these days. jsDoc won't parse through the closure. So, I use namespaces, and keep all my code in the global scope. It works great.