Skip to content

Commit

Permalink
Fix sphynx not recognizing use of scipy.spatial for the KDTree branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
yosefm committed Feb 23, 2017
1 parent c7bf4a4 commit 8c5a07c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/conf.py
Expand Up @@ -22,7 +22,7 @@ def __getattr__(cls, name):
return Mock()

MOCK_MODULES = ['numpy', 'numpy.ma', 'scipy', 'scipy.interpolate', 'scipy.io',
'tables', 'matplotlib', 'matplotlib.pyplot']
'scipy.spatial', 'tables', 'matplotlib', 'matplotlib.pyplot']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)

# If extensions (or modules to document with autodoc) are in another directory,
Expand Down

0 comments on commit 8c5a07c

Please sign in to comment.