stdbrouw/jsdoc-for-sphinx — Issue #2: Invalid template error
Author: jterrace
Created: 2011-11-19 21:46:15+00:00
State: open

I'm getting this error:

```
>> WARNING: Sorry, that doesn't seem to be a valid template: ~/jsdoc-for-sphinx/publish.js : ReferenceError: "publish" is not defined.
1 warning.
```

This works fine:
``java -jar jsrun.jar app/run.js myfile.js -t=templates/jsdoc``
I get the error when I switch to this:
``java -jar jsrun.jar app/run.js myfile.js -t=~/jsdoc-for-sphinx``

This is with jsdoc-toolkit version 2.4.0. Am I doing something wrong? The publish function is definitely there inside publish.js, so I'm not sure why it's complaining.