Enable warning-is-error in doc build
- Fix docstring warnings - pbr warnerrors is no longer needed. Change-Id: I70532d99f34023b5fcce4373b6456cae2fbb642a
This commit is contained in:
parent
ad8274cb8f
commit
8d0a5a7fea
@ -195,6 +195,7 @@ class DatastorePath(object):
|
|||||||
file path to a virtual disk.
|
file path to a virtual disk.
|
||||||
|
|
||||||
Note:
|
Note:
|
||||||
|
|
||||||
- Datastore path representations always uses forward slash as separator
|
- Datastore path representations always uses forward slash as separator
|
||||||
(hence the use of the posixpath module).
|
(hence the use of the posixpath module).
|
||||||
- Datastore names are enclosed in square brackets.
|
- Datastore names are enclosed in square brackets.
|
||||||
|
@ -26,6 +26,7 @@ packages =
|
|||||||
source-dir = doc/source
|
source-dir = doc/source
|
||||||
build-dir = doc/build
|
build-dir = doc/build
|
||||||
all_files = 1
|
all_files = 1
|
||||||
|
warning-is-error = 1
|
||||||
|
|
||||||
[upload_sphinx]
|
[upload_sphinx]
|
||||||
upload-dir = doc/build/html
|
upload-dir = doc/build/html
|
||||||
@ -46,7 +47,6 @@ output_file = oslo_vmware/locale/oslo_vmware.pot
|
|||||||
|
|
||||||
[pbr]
|
[pbr]
|
||||||
autodoc_index_modules = 1
|
autodoc_index_modules = 1
|
||||||
warnerrors = True
|
|
||||||
autodoc_exclude_modules =
|
autodoc_exclude_modules =
|
||||||
oslo_vmware._i18n
|
oslo_vmware._i18n
|
||||||
oslo_vmware.tests.*
|
oslo_vmware.tests.*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user