Add tox.ini for building docs automatically with buildbot

so we can have a truly "latest" version at rattailproject.org
This commit is contained in:
Lance Edgar 2019-08-16 22:22:14 -05:00
parent 42c1adc8f8
commit 7ca3136905
3 changed files with 13 additions and 2 deletions

3
.gitignore vendored
View file

@ -1,3 +1,4 @@
Rattail Tutorial.egg-info/
rattail_tutorial.egg-info/
docs/_build/
.tox/
.vagrant/

View file

@ -46,6 +46,7 @@ requires = [
'psycopg2', # 2.6.2
'rattail', # 0.7.25
'Tailbone', # 0.5.29
'tox', # 3.13.2
]

9
tox.ini Normal file
View file

@ -0,0 +1,9 @@
[tox]
envlist = docs
[testenv:docs]
basepython = python3
deps = rattail[docs]
changedir = docs
commands = sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs