Is there a way to test Sphinx documentation that is to be deployed to readthedocs?  I am thinking of a live server - maybe in the style of PyPI's testing site - or a local simulation under the condition of readthedocs.io.I want to avoid inflating my repo with garbage commits (there are examples from which it seems I am not the only one with this problem) and wait 50 seconds just to see whether the build passes or not - and what error it throws out.I do not mean whether Sphinx is generally able to build the html files - make html in ./docs/ does this quite fine.  But even when the html files can be build locally, there are numerous reasons that the build on readthedocs.io fails: ImportErrors, ExtensionErrors, other problems with extensions, things that relate to the general setup.py, etc.  Those are things that you can't catch, even in a virtualenv.If there are no such live-testing tools, what's best practice workarounds?
How can I test ReadTheDocs under live conditions with Sphinx documentation?
python;testing;documentation generation