Fix build_doc on read the docs (using mock objects)

This is still not working at 100% (signals and slots got undocumented and bases classes are all set to builtins.Mock)