olivernn / dox-template

simple templates for dox
29 stars 4 forks source link

Docs not generating? #2

Closed vicapow closed 12 years ago

vicapow commented 12 years ago

Hi,

Thanks for the module but I wasn't able to get it working. Here's just a simple example:

/**
 * This is a test
 *
 * @param {Something} something else
 * @api public
 */
var http = require('http');
http.createServer(function (req, res) {
  res.writeHead(200, {'Content-Type': 'text/plain'});
  res.end('Hello World\n');
}).listen(1337, '127.0.0.1');
console.log('Server running at http://127.0.0.1:1337/');

I've varified the above does produce dox output but when i run the following command

dox < test.js | dox-template > test.html

I get a test.html file that just has a project title (plus some boilerplate style and js)

vicapow commented 12 years ago

I feel so stupid. i just noticed this other issue:

https://github.com/olivernn/dox-template/issues/1