From 5d0fb1193c20904a2a9d2e6e31f71f189bbd5bdb Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Mon, 8 Jan 2018 12:28:50 -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: I673214c9e231294e7d5eb473232e2a611e219b47 --- setup.cfg | 7 ------- tox.ini | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/setup.cfg b/setup.cfg index 278485f..89b5356 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,13 +36,6 @@ stevedore.test.extension = e1 = stevedore.tests.test_extension:BrokenExtension e2 = stevedore.tests.notfound:UnimportableExtension - -[build_sphinx] -all_files = 1 -build-dir = doc/build -source-dir = doc/source -warning-is-error = 1 - [pbr] warnerrors = True diff --git a/tox.ini b/tox.ini index a8cb3a6..d6bd257 100644 --- a/tox.ini +++ b/tox.ini @@ -31,7 +31,7 @@ commands = [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 [flake8] ignore = E251