Use subprocess.call instead of "internal" sphinx-build call.
At some point, sphinx.cmdline.main() started hanging onto some state, and so builds were getting corrupted by previous builds. Rather than try to track down the error I just punted and shelled out instead.
|@@ -69,7 +69,7 @@ def handle_noargs(self, **kwargs):|
|# "Shell out" (not exactly, but basically) to sphinx-build.|
|if verbosity >= 2:|
|print " building %s (%s -> %s)" % (builder, source_dir, build_dir)|
|'-q', # Be vewy qwiet|
|source_dir, # Source file directory|