Skip to content

Commit

Permalink
included doc_requirements and added mock objects for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
cpaulik committed Mar 25, 2015
1 parent 83427f8 commit 2ba8d04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
mock
numpydoc
sphinx_rtd
5 changes: 5 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
import inspect
from sphinx import apidoc

import mock

MOCK_MODULES = ['numpy', 'pykdtree', 'netCDF4']
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()

__location__ = os.path.join(os.getcwd(), os.path.dirname(
inspect.getfile(inspect.currentframe())))
Expand Down

0 comments on commit 2ba8d04

Please sign in to comment.