Skip to content

Commit 6ce2748

Browse files
committed
Add a check for the docs (such as they are).
1 parent ae89813 commit 6ce2748

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ MANIFEST
66
*.egg-info
77
build
88
dist
9+
README.html

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ clean:
1616
-rm -f MANIFEST
1717
-rm -f .coverage .coverage.* coverage.xml
1818
-rm -f setuptools-*.egg distribute-*.egg distribute-*.tar.gz
19+
-rm -f README.html
1920

2021
sterile: clean
2122
-rm -rf .tox*

tox.ini

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
#
1111

1212
[tox]
13-
envlist = py27-django{14,15,16,17,18},py34-django{15,16,17,18},py35-django{18},check
13+
envlist =
14+
py27-django{14,15,16,17,18},
15+
py34-django{15,16,17,18},
16+
py35-django{18},
17+
check,doc
1418

1519
[testenv]
1620
deps =
@@ -35,6 +39,13 @@ commands =
3539
pyflakes setup.py django_coverage_plugin tests
3640
pep8 . --exclude=.tox
3741

42+
[testenv:doc]
43+
deps =
44+
sphinx
45+
46+
commands =
47+
rst2html.py --strict README.rst README.html
48+
3849
[pep8]
3950
# E402: imports must be at top of file.
4051
# The rest are the default ignored warnings.

0 commit comments

Comments
 (0)