Closed kentquirk closed 11 years ago
For a gruntfile that looks like this:
docco: { docs: { src: ['lib/**/*.js'], options: { output: 'docs' } } }
The results are generated in undefined rather than in docs. The fix I made was to replace line 21 in the file docco.js with this:
var outpath = dest || opts.output; opts.output = outpath + '/' + path.replace(opts.basepath, "");
Didn't seem worth a fork and pull request, but I'll do that if you prefer.
Thanks for reporting. Added in 0.1.5.
For a gruntfile that looks like this:
The results are generated in undefined rather than in docs. The fix I made was to replace line 21 in the file docco.js with this:
Didn't seem worth a fork and pull request, but I'll do that if you prefer.