diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -25,13 +25,15 @@ release = '0.7.2'
 
 extensions = [
     'sphinx.ext.autodoc',
-    'sphinx.ext.doctest',
     'sphinx.ext.coverage',
     'sphinx.ext.viewcode',
     'sphinx.ext.githubpages',
     'm2r',
 ]
 
+if os.getenv('HVAC_RENDER_DOCTESTS') is None:
+    extensions.append('sphinx.ext.doctest')
+
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
Do no run doctest during readthedocs builds