Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit 1f38541

Browse files
committed
Added a tox env for building Sphinx docs
1 parent 2674e27 commit 1f38541

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tox.ini

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,24 @@
44
# install tox" and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py26, py27, py32, py33, py34, py35, pypy, pypy3
7+
envlist = py26, py27, py32, py33, py34, py35, pypy, pypy3, docs
88

99
[testenv]
1010
# Make sure reading the UTF-8 from test.py works regardless of the locale used.
1111
setenv = LANG=C LC_ALL=C
1212
commands = py.test --pep8 --clearcache
1313
deps = -rrequirements/tests.txt
1414

15+
[testenv:docs]
16+
changedir=docs
17+
deps = -rrequirements/docs.txt
18+
commands=sphinx-build -b html . _build
19+
1520
[pytest]
1621
pep8ignore =
1722
test.py E701 E704
1823
norecursedirs = docs .tox
1924

2025
[pep257]
2126
inherit = false
27+
convention = pep257

0 commit comments

Comments
 (0)