summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-03-30 11:40:21 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-03-30 11:40:21 -0400
commit85a4c7f3d5c6f5a71a705b198e3eaa9affc11ae9 (patch)
treeb717db646be94ae9562c68e05a957f2132b5a3c7
parent731262b17e0678b2549bf5d41adfd9c82ced01cc (diff)
downloadsqlalchemy-85a4c7f3d5c6f5a71a705b198e3eaa9affc11ae9.tar.gz
dont use cyext for sphinx builds
if these files are stale, imports fail and the build silently excludes docstrings. also , typing / docstrings are generally in the _py version of things, so just don't include cyexts in doc builds. Change-Id: Ibec927c7646d4b870a84a297d1b199ccecf3afef
-rw-r--r--doc/build/conf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/build/conf.py b/doc/build/conf.py
index d6fc0642c..10c9c98d4 100644
--- a/doc/build/conf.py
+++ b/doc/build/conf.py
@@ -23,6 +23,8 @@ sys.path.insert(0, os.path.abspath("../..")) # examples
sys.path.insert(0, os.path.abspath("."))
+os.environ["DISABLE_SQLALCHEMY_CEXT_RUNTIME"] = "true"
+
# -- General configuration --------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.