summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/source/conf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 1c1bb40..6ba42ab 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -76,6 +76,9 @@ release = u'0.1'
# Usually you set "language" from the command line for these cases.
language = None
+MOCK_MODULES = ['numpy', 'scipy']
+sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
+
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''