Skip to content
This repository has been archived by the owner on Mar 7, 2022. It is now read-only.

Commit

Permalink
Add mock modules for rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
lukassnoek committed Aug 2, 2016
1 parent 949f48e commit 3edc458
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
import os
import mock

MOCK_MODULES = ['numpy', 'scipy']
MOCK_MODULES = ['numpy', 'scipy', 'joblib', 'nilearn', 'nipype', 'h5py',
'scikit-learn', 'pandas', 'seaborn', 'matplotlib', 'nibabel']

for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()

Expand Down

0 comments on commit 3edc458

Please sign in to comment.