Fix documentation generation

Borrowed from:
http://www.jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/