From e79031b70a0a9ece99bf2e64ee661a31a0070995 Mon Sep 17 00:00:00 2001 From: Steve Martinelli Date: Thu, 24 Jul 2014 17:44:22 -0400 Subject: [PATCH] Add a tox job for generating docs Add a tox job to make it easier for developers to generate their own docs before submitting a patch. Change-Id: I1897407d0db901c61360a196b365b0661eb65b66 --- .gitignore | 1 + tox.ini | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 6638d3d4..29d05016 100644 --- a/.gitignore +++ b/.gitignore @@ -16,5 +16,6 @@ run_tests.err.log .testrepository .tox doc/source/api +doc/build *.egg glanceclient/versioninfo diff --git a/tox.ini b/tox.ini index 5c976773..b2182ffe 100644 --- a/tox.ini +++ b/tox.ini @@ -24,6 +24,10 @@ commands = {posargs} [testenv:cover] commands = python setup.py testr --coverage --testr-args='{posargs}' +[testenv:docs] +commands= + python setup.py build_sphinx + [tox:jenkins] downloadcache = ~/cache/pip