title: TypeDoc not working
body: <p>I'm trying to set up TypeDoc to build the documentation from a TypeScript project.</p>
  
  <pre><code>typedoc                              \
      --out ./docs                     \
      --theme minimal                  \
      --name MyProject                 \
      --readme ./README.md             \
      --mode modules                   \
      --target ES6                     \
      --includeDeclarations            \
      --externalPattern "node_modules" \
      --excludeExternals               \
      --hideGenerator                  \
      ./src/
  </code></pre>
  
  <p>Typedoc would simply emit the USAGE and exits. There is no other error message. I also tried:</p>
  
  <pre><code>typedoc --mode modules --out ./docs/ ./src/
  </code></pre>
  
  <p>Doesn't work either. I also tried writing a typedoc.js file:</p>
  
  <pre><code>module.exports = {
      out: './docs',
      name: 'MyProject',
      readme: './README.md',
      externalPattern: 'node\\_modules',
      hideGenerator: true,
      target: 'ES6',
      jsx: 'preserve',
      experimentalDecorators: true
  };
  </code></pre>
  
  <p>and specifying this on the console:</p>
  
  <pre><code>typedoc --mode modules --options typedoc.js src/
  </code></pre>
  
  <p>To no avail; all I ever see is the USAGE string.</p>
  
  <p>I spent two hours trying to debug typedoc to see what's going on, and I suspect TypeDoc doesn't see any source files at all. I also tried specifying the <code>src/main.ts</code> instead of just the directory <code>src</code>, but this didn't help either.</p>
  
  <p>I'm at a loss, I can't get this thing to work. Any ideas?</p>
  
  <pre><code>$ typedoc --version
  TypeDoc 0.4.4
  Using TypeScript 1.8.10 from /usr/lib/node_modules/typedoc/node_modules/typescript/lib
  </code></pre>