Skip to content

Commit

Permalink
Added more mocks to sphinx conf
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcfee committed Jul 8, 2016
1 parent 3c2f0cc commit dee1ee8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@
author = 'Brian McFee'

import mock
MOCK_MODULES = ['numpy', 'scipy', 'jams', 'librosa']
MOCK_MODULES = ['numpy', 'scipy', 'scipy.sparse',
'sklearn', 'sklearn.preprocessing',
'mir_eval',
'jams', 'librosa']
sys.modules.update((mod_name, mock.Mock()) for mod_name in MOCK_MODULES)

# The version info for the project you're documenting, acts as replacement for
Expand Down

0 comments on commit dee1ee8

Please sign in to comment.