Added sphinx build test and make it pass on Python 3