From 7ed0e21bd3ef1d2bb30f81fd4a5ba782804322e2 Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Sat, 29 Apr 2017 17:28:01 +0000 Subject: [PATCH] Fix document warnings Also warning-is-error is set in setup.cfg to avoid future warnings. Change-Id: I4381a47d35b5736c9af0a2cb8bdd330266825922 --- doc/source/users/proxies/identity_v2.rst | 2 +- openstack/database/v1/_proxy.py | 2 +- setup.cfg | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/source/users/proxies/identity_v2.rst b/doc/source/users/proxies/identity_v2.rst index 3f2c65aeb..0cd4b77e2 100644 --- a/doc/source/users/proxies/identity_v2.rst +++ b/doc/source/users/proxies/identity_v2.rst @@ -20,7 +20,7 @@ Extension Operations .. automethod:: openstack.identity.v2._proxy.Proxy.get_extension .. automethod:: openstack.identity.v2._proxy.Proxy.extensions - User Operations +User Operations ^^^^^^^^^^^^^^^ .. autoclass:: openstack.identity.v2._proxy.Proxy diff --git a/openstack/database/v1/_proxy.py b/openstack/database/v1/_proxy.py index b06e4fdb5..89a1702cd 100644 --- a/openstack/database/v1/_proxy.py +++ b/openstack/database/v1/_proxy.py @@ -80,7 +80,7 @@ class Proxy(proxy2.BaseProxy): :param instance: This can be either the ID of an instance or a :class:`~openstack.database.v1.instance.Instance` - instance that the interface belongs to. + instance that the interface belongs to. :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. diff --git a/setup.cfg b/setup.cfg index a11e58a1a..2c6b5a0a4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -28,6 +28,7 @@ packages = source-dir = doc/source build-dir = doc/build all_files = 1 +warning-is-error = 1 [upload_sphinx] upload-dir = doc/build/html