From fd1594937d777c0047051ae470e2de5523522171 Mon Sep 17 00:00:00 2001 From: Steve Martinelli Date: Thu, 24 Jul 2014 17:53:37 -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: I86dbfc64a9d174697048c254c6d3d042a62350b4 --- .gitignore | 1 + tox.ini | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 0725f3e5..2064ff3a 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,5 @@ swiftclient/versioninfo .coverage cover/ coverage.xml +doc/build doc/source/api/ diff --git a/tox.ini b/tox.ini index 95cd94f1..797b76b5 100644 --- a/tox.ini +++ b/tox.ini @@ -25,6 +25,10 @@ commands = python setup.py testr --coverage [tox:jenkins] downloadcache = ~/cache/pip +[testenv:docs] +commands= + python setup.py build_sphinx + [flake8] # it's not a bug that we aren't using all of hacking # H102 -> apache2 license exists