Skip to content

Commit 18cead4

Browse files
committed
Merge pull request #135 from xray/rtd-tweaks
Tweak specification of dependencies for readthedocs
2 parents c425967 + 05eb9d3 commit 18cead4

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

doc/conf.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@
4848
# documentation root, use os.path.abspath to make it absolute, like shown here.
4949
#sys.path.insert(0, os.path.abspath('.'))
5050

51-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'sphinxext',
52-
'numpydoc'))
53-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'sphinxext',
54-
'ipython_sphinxext'))
55-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', 'src'))
51+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'sphinxext', 'numpydoc'))
5652

5753
# Mock imports for readthedocs
5854
class Mock(object):

doc/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# only the dependencies required to build xray's docs
2-
# all others (netCDF4, scipy) are mocked out in conf.py
2+
# all others (only netCDF4 for now) are mocked out in conf.py
33
numpy>=1.7
44
ipython==2.0.0
55
pandas==0.13.1

0 commit comments

Comments
 (0)