[WIP] api doc generator

This is an early draft of the api doc generator implementation.

TODO:

- [ ] TDB :)

fixes #62