Skip to content

Commit a4e9e8a

Browse files
committed
RTD
1 parent 996c668 commit a4e9e8a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/source/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@
7676
# Usually you set "language" from the command line for these cases.
7777
language = None
7878

79+
MOCK_MODULES = ['numpy', 'scipy']
80+
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
81+
7982
# There are two options for replacing |today|: either, you set today to some
8083
# non-false value, then it is used:
8184
#today = ''

0 commit comments

Comments
 (0)