Skip to content

Commit cb1d07e

Browse files
author
aviau
committed
Added tox and travis jobs for docs
1 parent 183de90 commit cb1d07e

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ env:
66
- TOX_ENV=py34
77
- TOX_ENV=pypy
88
- TOX_ENV=pypy3
9+
- TOX_ENV=docs
910
- TOX_ENV=flake8
1011
- TOX_ENV=coverage
1112
install:

README.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ You will need Sphinx_ installed to generate the documentation.
7575

7676
The documentation can be generated by running::
7777

78-
$ cd docs
79-
$ make html
78+
$ tox -e docs
8079

8180

8281
Generated documentation can be found in the *docs/build/html/* directory.

tox.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ deps = -r{toxinidir}/requirements.txt
1818
coverage
1919
commands = nosetests -v --with-coverage --cover-html --cover-package=influxdb
2020

21+
[testenv:docs]
22+
deps = Sphinx==1.2.3
23+
sphinx_rtd_theme
24+
commands = sphinx-build -b html docs/source docs/build
25+
2126
[flake8]
2227
# Ignored because of nosetests's setUp function
2328
ignore = N802

0 commit comments

Comments
 (0)