Fixed docs tox env to work in all cases.
This commit is contained in:
7
tox.ini
7
tox.ini
@@ -8,12 +8,13 @@ setenv =
|
|||||||
DJANGO_SETTINGS_MODULE = tests.settings
|
DJANGO_SETTINGS_MODULE = tests.settings
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
changedir = docs
|
basepython = python2.7
|
||||||
deps =
|
deps =
|
||||||
Sphinx
|
Sphinx
|
||||||
|
Django==1.3.1
|
||||||
commands =
|
commands =
|
||||||
make clean
|
rm -rf docs/_build
|
||||||
make html
|
{envbindir}/sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
|
||||||
|
|
||||||
[testenv:py25-1.2.X]
|
[testenv:py25-1.2.X]
|
||||||
basepython = python2.5
|
basepython = python2.5
|
||||||
|
|||||||
Reference in New Issue
Block a user