<MRG> Doc generation works in Python 2 and 3

Documentation can be generated using Python 2 or Python 3 and sphinx