Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
jmschrei committed Nov 8, 2016
1 parent 7c93bf4 commit b59d20f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,18 @@
import sys
import os
import subprocess
import mock

MOCK_MODULES = ['numpy', 'scipy', 'joblib', 'networkx', 'cython']
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()

subprocess.call('pip install numpydoc', shell=True)

# 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.
sys.path.insert(0, os.path.abspath('../'))
sys.path.insert(0, os.path.abspath('../..'))

# -- General configuration ------------------------------------------------

Expand Down

0 comments on commit b59d20f

Please sign in to comment.