Fixed PEP-8 formatting recommendations in the doc generation code.
Review Request #6668 — Created Dec. 2, 2014 and submitted
This fixes a series of warnings from the pep8 tool in the auto-generating Sphinx configuration files and our custom Sphinx extensions. These involve improper 'not in' conditionals, and unknown interpreted text.
Built docs, and ran pep8.