Skip to content

Commit

Permalink
Add docs building to tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
sfdye committed Jun 13, 2020
1 parent d6ee7c7 commit 3ee9e7f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

from __future__ import absolute_import, print_function
import sys, os
from future import __version__
import sphinx_bootstrap_theme

# If extensions (or modules to document with autodoc) are in another directory,
Expand Down
10 changes: 9 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
[tox]
envlist = py26,py27,py33,py34,py35,py36,py37
envlist =
py{26,27,33,34,35,36,37},
docs

[testenv]
deps =
pytest
unittest2
py26: importlib
commands = pytest {posargs}

[testenv:docs]
deps =
sphinx
sphinx_bootstrap_theme
commands = sphinx-build docs build

0 comments on commit 3ee9e7f

Please sign in to comment.