From 189aec9b1881ff378f615005474ef5e54b0ff971 Mon Sep 17 00:00:00 2001
From: Doug Hellmann <doug@doughellmann.com>
Date: Wed, 17 Jan 2018 10:16:17 -0500
Subject: [PATCH] Partially Revert "Update new documentation PTI jobs"

The zuul job figures out whether to run "setup.py build_sphinx" or
"build-sphinx" based on whether the project is relying on pbr's
ability to auto-generate API reference docs. Because we are relying on
that, we want local builds to use "setup.py build_sphinx".

This reverts commit 42e0037cd055d81d9452f046c347f8e469d27350.

Change-Id: Ia01188110fa9c3ccaf3d794fa3a511a6780e683e
---
 tox.ini | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tox.ini b/tox.ini
index ca30150d25..47b745a2a8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -109,8 +109,7 @@ deps =
   -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
   -r{toxinidir}/requirements.txt
   -r{toxinidir}/doc/requirements.txt
-commands =
-  sphinx-build -b html doc/source doc/build/html
+commands = python setup.py build_sphinx
 
 [testenv:releasenotes]
 deps =