Skip to content

Commit

Permalink
DOC: changed working docs directory to match RTD builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffgortmaker committed Apr 22, 2018
1 parent 441b64d commit 4ea5e51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/source/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ In this section, we'll also import :mod:`matplotlib.pyplot`, which, although not
import matplotlib.pyplot as plt
@suppress
def savefig(name):
plt.savefig(f'source/{name}', transparent=True, bbox_inches='tight')
def savefig(path):
plt.savefig(path, transparent=True, bbox_inches='tight')
plt.clf()
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ commands =

[testenv:docs]
extras = docs
changedir = docs
changedir = docs/source
commands =
python ../setup.py check -r -s
sphinx-build -E -W -n -b html -d build/doctrees source build/html
python ../../setup.py check -r -s
sphinx-build -E -W -n -b html -d ../build/doctrees . ../build/html

[testenv:build]
skip_install = True
Expand Down

0 comments on commit 4ea5e51

Please sign in to comment.