title: Generate JavaScript documentation directly from source code
body: <p>I'm looking for a tool to generate the documentation for JavaScript functions and properties even if there are no appropriately formatted comment blocks associated with those functions or properties (like Doxygen does).</p>
  
  <p>This comparison between <a href="http://blog.fusioncharts.com/2013/12/jsdoc-vs-yuidoc-vs-doxx-vs-docco-choosing-a-javascript-documentation-generator/">JSDoc and some other documenting tools</a> mentions that JSDoc can parse the source code to generate documentation even if there is no comment blocks (something like Doxygen, as I mentioned above). They say that all other tools only parse the comment blocks.</p>
  
  <p>I installed JSDoc 3.3.0-alpha4 from npm (on node) according to <a href="https://www.npmjs.org/package/jsdoc">this instruction</a> and I am trying to generate documentation for my project. As far as I can see JSDoc doesn't generate any documentation for functions or properties that don't have proper comments with relevant JSDoc flags.</p>
  
  <p>I know JSDoc has gone through many iterations, has this functionality been removed or I am not using proper switches? I tried to check the command line options but couldn't find any switches for that. I am simply using it like this:</p>
  
  <pre><code>./node_modules/.bin/jsdoc -r -l my_project --destination doc/
  </code></pre>
  
  <p>I know there are other tools that can automatically add documentation blocks to the code, e.g. <a href="http://smartcomments.github.io/">smartcomments</a>, but it's not exactly what I am looking for. Can anyone shed some light on that?</p>