From eca5b06760b4cf13df236e407f3b2ab828a7b848 Mon Sep 17 00:00:00 2001 From: Juan Ignacio Fiorentino Date: Fri, 20 Apr 2018 18:23:41 -0300 Subject: [PATCH] Test docs with tox. --- tox.ini | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tox.ini b/tox.ini index 27d5ef0..4a2ade4 100644 --- a/tox.ini +++ b/tox.ini @@ -24,6 +24,16 @@ deps = commands = pytest --flake8 --cov=oidc_provider {posargs} +[testenv:docs] +basepython = python2.7 +changedir = docs +deps = + sphinx + sphinx_rtd_theme +commands = + mkdir -p _static/ + sphinx-build -v -W -b html -d {envtmpdir}/doctrees -D html_static_path="_static" . {envtmpdir}/html + [pytest] DJANGO_SETTINGS_MODULE = oidc_provider.tests.settings python_files = test_*.py