I'm building a custom template, and started by copying the jsdoc template
directory as a starting point. It took me half a day to track down why my
changes were not showing up, which I finally tracked down in publish.js.
The configuration hard-codes the directory for which to find the template
files as:
<code>
publish.conf = {
// snip
templatesDir: SYS.pwd+"../templates/jsdoc",
// snip
}
</code>
I propose changing this to use the template directory provided at runtime
so new users don't have to track down this change like I did:
<code>
publish.conf = {
// snip
templatesDir: JSDOC.opt.t + "/",
// snip
}
</code>
I'm not very familiar with jsdoc internals, so perhaps there is a better
way. However hard-coding "../templates/jsdoc" is definitely the wrong way
to go.
Original issue reported on code.google.com by matt.sma...@gmail.com on 15 Oct 2008 at 11:19
Original issue reported on code.google.com by
matt.sma...@gmail.com
on 15 Oct 2008 at 11:19