Skip to content

Commit

Permalink
Update Doc
Browse files Browse the repository at this point in the history
Fix imports (using mock) for readthedocs build.
  • Loading branch information
JamesPHoughton committed Jun 18, 2015
1 parent 5391738 commit 4b8bba5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
8 changes: 8 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
import os
import shlex


import mock

MOCK_MODULES = ['numpy', 'scipy', 'matplotlib', 'matplotlib.pyplot', 'scipy.stats',
'scipy.integrate', 'pandas']
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
Expand Down

0 comments on commit 4b8bba5

Please sign in to comment.