From 931b4a888b9c8454549aa907ded825b0af38eab8 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Wed, 18 Jun 2014 08:06:05 -0700 Subject: [PATCH] Add tox target for building docs This is useful for building the docs to verify changes to rst files are formatted correctly. Change-Id: Iac3feb50a575f670dd67fd5cd8dabce1a999d97c --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index b80bf3d1..3bc149d5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 1.6 -envlist = py26,py27,py33,pypy,pep8,functional +envlist = py26,py27,py33,pypy,pep8,functional,docs skipsdist = True [testenv] @@ -35,3 +35,6 @@ commands = python elastic_recheck/bot.py -f -n --noirc elasticRecheck.conf ignore = E123,E125,H803 exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build + +[testenv:docs] +commands = python setup.py build_sphinx