Skip to content

Commit

Permalink
Try with MOCK_MODULES
Browse files Browse the repository at this point in the history
  • Loading branch information
ntrrgc committed Jan 30, 2016
1 parent 9c0d308 commit 836eb8d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('..'))

# Mock libraries so this builds on ReadTheDocs
import mock

MOCK_MODULES = ['funcsigs', 'requests', 'tornado', 'streql', 'dateutil']
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()

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

# If your documentation needs a minimal Sphinx version, state it here.
Expand Down

0 comments on commit 836eb8d

Please sign in to comment.