mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
Made template parameter an entire path.
This commit is contained in:
parent
d7e74062b1
commit
c48a69229a
4
jsdoc.js
4
jsdoc.js
@ -230,10 +230,10 @@ function main() {
|
||||
exit(0);
|
||||
}
|
||||
|
||||
env.opts.template = env.opts.template || 'default';
|
||||
env.opts.template = env.opts.template || 'templates/default';
|
||||
|
||||
// should define a global "publish" function
|
||||
include('templates/' + env.opts.template + '/publish.js');
|
||||
include(env.opts.template + '/publish.js');
|
||||
|
||||
if (typeof publish === 'function') {
|
||||
publish(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user