Add type documentation to docgen

Fix #83
Merge pull request #85 from Xandaros/iss83

Add type documentation to docgen