Skip to content

Commit

Permalink
Add docs build to tox
Browse files Browse the repository at this point in the history
  • Loading branch information
jotterbach committed Oct 11, 2017
1 parent dde9331 commit 86a20fb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
6 changes: 2 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
import os
import sphinx_rtd_theme

from grove import __version__

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
Expand Down Expand Up @@ -71,9 +69,9 @@
# built documents.
#
# The short X.Y version.
version = __version__
version = '1.2.0'
# The full version, including alpha/beta/rc tags.
release = __version__
release = '1.2.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ pytest-cov
codeclimate-test-reporter

# docs
sphinx
sphinx_rtd_theme
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/grove
deps=
-rrequirements.txt
commands=py.test --cov=grove
commands=
py.test --cov=grove
sphinx-build -b html docs/ docs/_build


0 comments on commit 86a20fb

Please sign in to comment.