mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
save output in the current working directory, not the JSDoc directory
This commit is contained in:
parent
ef6f2e92d5
commit
f5e3f0f31d
@ -176,7 +176,7 @@ exports.publish = function(data, opts, tutorials) {
|
||||
|
||||
var globals = find( {kind: ['member', 'function', 'constant', 'typedef'], memberof: {isUndefined: true}} );
|
||||
|
||||
var outdir = env.dirname + '/' + opts.destination;
|
||||
var outdir = opts.destination;
|
||||
if (packageInfo && packageInfo.name) {
|
||||
outdir += '/' + packageInfo.name + '/' + packageInfo.version + '/';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user