Skip to content

Commit

Permalink
fix dataset path in docs;
Browse files Browse the repository at this point in the history
  • Loading branch information
nickhand committed Aug 11, 2017
1 parent 34f810a commit 1e89bba
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions docs/source/analyzing-results.rst
Expand Up @@ -35,8 +35,7 @@ measurement :math:`P(k,\mu)`.
import matplotlib.pyplot as plt
plt.style.use(style.notebook)
basename = os.path.abspath('.')
data_dir = os.path.join(basename.split('docs')[0], 'docs', 'data')
data_dir = os.path.join(os.environ['SOURCE_DIR'], 'data')
.. ipython:: python
Expand Down
1 change: 1 addition & 0 deletions docs/source/conf.py
Expand Up @@ -46,6 +46,7 @@
'numpydoc'
]

os.environ['SOURCE_DIR'] = os.path.split(__file__)[0]

def run_apidoc(*args):

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 1e89bba

Please sign in to comment.