Follow the new PTI for document build

- Follow new PTI for docs build
- Add sphinxcontrib.apidoc to replace pbr autodoc

REF:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
Change-Id: Id16a5eaa57bc0d96332849abfb62898e6766ef86
This commit is contained in:
Nguyen Hai
2017-12-29 13:53:24 +08:00
parent 314a29f6a6
commit a8003eced7
8 changed files with 24 additions and 33 deletions
-16
View File
@@ -33,21 +33,5 @@ setup-hooks =
console_scripts =
glance = glanceclient.shell:main
[build_sphinx]
builders = html,man
all-files = 1
warning-is-error = 1
source-dir = doc/source
build-dir = doc/build
[upload_sphinx]
upload-dir = doc/build/html
[wheel]
universal = 1
[pbr]
autodoc_index_modules = True
autodoc_exclude_modules =
glanceclient.tests.*
api_doc_dir = reference/api