From f36f0fcdb78ea6cef9efecaa6c648b5fe1626b6e Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Mon, 8 Jan 2018 12:21:46 -0600 Subject: [PATCH] Follow the new PTI for document build For compliance with the Project Testing Interface as described in: https://governance.openstack.org/tc/reference/project-testing-interface.html For more detials information, please refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: I328db3d0048386ddd2c4f785de542aeb7b98c6e1 --- setup.cfg | 6 ------ tox.ini | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/setup.cfg b/setup.cfg index c997a87c..820266e6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -78,9 +78,3 @@ doc = [wheel] universal = 1 - -[build_sphinx] -all_files = 1 -build-dir = doc/build -source-dir = doc/source -warning-is-error = 1 diff --git a/tox.ini b/tox.ini index 6075d1de..dfaccb8a 100644 --- a/tox.ini +++ b/tox.ini @@ -45,7 +45,7 @@ commands = python setup.py testr --slowest --coverage --testr-args="{posargs}" [testenv:docs] deps = -r{toxinidir}/doc/requirements.txt -commands = python setup.py build_sphinx +commands = sphinx-build -W -b html doc/source doc/build/html [testenv:pep8] deps = hacking<0.13,>=0.12