Only output documentation sections with content
Make hierarchy images optional
Update doc generation script for -h option
Update docs
Merge pull request #382 from garyb/master

Docgen tweaks