title: How to use JSDoc3 to document nested namespaces
body: <p>I'm having trouble using JSDoc3 to document code that's structured along these lines</p>
  
  <pre><code>/**
   * @namespace MyNamespace.MySubNamespace
   */
  
  (function (MyNamespace) {
      MyNamespace.MySubNamespace.Foo = {
          doSomething: function (someParam) {
              // doing it
          }
      }
  })(window.MyNamespace)
  </code></pre>
  
  <p>How would I use JSDoc3 to document that <code>MyNamespace</code> contains <code>MySubNamespace</code> which contains <code>Foo</code>?  Further how would I associate <code>doSomething</code> with <code>Foo</code> and document its parameter <code>someParam</code>? </p>
  
  <p>A limitation I have is that I can't add documentation to the file in which <code>MyNamespace</code> and <code>MySubNamespace</code> are declared.</p>
  
  <p>Thanks much!  </p>