jsdoc3/jsdoc — pull request #281 by mathematicalcoffee (2012-12-11 01:40:42+00:00)
Title: Default template: Event list in right hand sidebar

Bug jsdoc3/jsdoc#274.

Added a list of events in the right hand sidebar for the default template.

I added it in between the "Classes" and "Namespaces" sections (feel free to re-order).

I had to modify:

* `templateHelper.js` `getMembers`: additionally return `members.events`, a list of events.
* `publish.js`, `buildNav`: add in the events list into the sidebar

I also added tests for the `getMembers` function since there weren't any.

(It might be nice to also modify `getMembers` to return the doclets alphabetically sorted by name, but that is for another day).