summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGinnis <sean.mcginnis@huawei.com>2018-01-08 12:28:50 -0600
committerSean McGinnis <sean.mcginnis@huawei.com>2018-01-08 12:28:50 -0600
commit5d0fb1193c20904a2a9d2e6e31f71f189bbd5bdb (patch)
treeef8752cbf849c543adc6b5f4b77a4dbb77422ec1
parent2472e8c9c27affe95c1541971a677a107a0d6ad4 (diff)
downloadstevedore-5d0fb1193c20904a2a9d2e6e31f71f189bbd5bdb.tar.gz
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
-rw-r--r--setup.cfg7
-rw-r--r--tox.ini2
2 files changed, 1 insertions, 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