summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2016-10-28 16:42:55 +0200
committerRémi Flamary <remi.flamary@gmail.com>2016-10-28 16:42:55 +0200
commita4e9e8a3a4724439939d04d95b0c29d0c5823f4f (patch)
tree57a6caeb2f447f076435163adaa744cd5c2f4780 /docs
parent996c6681513184c837c2c1f17af2cae9e5106676 (diff)
RTD
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 = ''