From f4519f3b7f1f7314b5d342be989df1c4365954b9 Mon Sep 17 00:00:00 2001 From: Chayim Date: Thu, 25 Nov 2021 16:03:30 +0200 Subject: Splitting documentation for read the docs (#1743) --- tox.ini | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 0a94db8..33c3971 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,7 @@ markers = [tox] minversion = 3.2.0 requires = tox-docker -envlist = {standalone,cluster}-{plain,hiredis}-{py35,py36,py37,py38,py39,pypy3},linters +envlist = {standalone,cluster}-{plain,hiredis}-{py35,py36,py37,py38,py39,pypy3},linters,docs [docker:master] name = master @@ -128,7 +128,7 @@ commands = /usr/bin/echo [testenv:linters] deps_files = dev_requirements.txt -docker= +docker = commands = flake8 vulture redis whitelist.py --min-confidence 80 @@ -141,6 +141,13 @@ basepython = pypy3 [testenv:pypy3-hiredis] basepython = pypy3 +[testenv:docs] +deps_files = docs/requirements.txt +docker = +changedir = {toxinidir}/docs +allowlist_externals = make +commands = make html + [flake8] exclude = *.egg-info, -- cgit v1.2.1