hegemonic/jsdoc-baseline — pull request #81 by theasta (2014-11-20 06:38:24+00:00)
Title: Get the tutorials' children recursively

I got this error when trying to generate the documentation:

```
jsdoc-baseline/lib/publishjob.js:211
while (tutorials.children.length) {
^
TypeError: Cannot read property 'length' of undefined
```

It was due to the fact that inside the loop, the variable tutorials, originally an object with a children property, is reassigned to tutorials.children which is an array. I replaced the while loop by a recursive function.

I also fixed an error triggered by helper.tutorialToUrl by passing along the name instead of the title.

Let me know what you think about the internal declaration of the recursive function. Would you prefer to have it defined outside the generateTutorials method?