diff options
author | Steve Piercy <web@stevepiercy.com> | 2018-11-27 03:32:07 -0800 |
---|---|---|
committer | Steve Piercy <web@stevepiercy.com> | 2018-11-27 03:32:07 -0800 |
commit | e8d04ccaa3fe9f09d50e20fd47e0c26773819c86 (patch) | |
tree | 246cc142a032fd8e0eef88fa10bc709f89e923f7 | |
parent | a38ff6e5b1c8e9cf072dcfbc0eb1c6b2479baff5 (diff) | |
download | pastedeploy-git-e8d04ccaa3fe9f09d50e20fd47e0c26773819c86.tar.gz |
Add docs environment to tox. Build via `tox -e docs`.
Closes #9
-rw-r--r-- | tox.ini | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,5 +1,6 @@ [tox] -envlist = py27, py34, py35, py36, py37, pypy, pypy3 +envlist = py27, py34, py35, py36, py37, pypy, pypy3, + docs [testenv] usedevelop = True @@ -10,3 +11,12 @@ deps = pytest-cov commands = py.test {posargs} + +[testenv:docs] +# pin to 3.5 to match what RTD uses +basepython = python3.5 +whitelist_externals = make +commands = + make -C docs html epub BUILDDIR={envdir} "SPHINXOPTS=-W -E" +extras = + docs |