Call sphinx-build from withing Python instead of a subprocess