From bf4ab5a9e4fc21220a82788bcf6237bcdeae8ec7 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Thu, 4 Dec 2014 16:13:17 -0500 Subject: [PATCH] Treat sphinx warnings as errors Closes-Bug: #1287415 Change-Id: I43f406a8608724ac55c9ae6aea847d75594ba6f6 --- doc/source/notification_listener.rst | 2 ++ doc/source/static/.placeholder | 0 setup.cfg | 3 +++ 3 files changed, 5 insertions(+) create mode 100644 doc/source/static/.placeholder diff --git a/doc/source/notification_listener.rst b/doc/source/notification_listener.rst index 0f555e5f0..3a69070b1 100644 --- a/doc/source/notification_listener.rst +++ b/doc/source/notification_listener.rst @@ -10,5 +10,7 @@ Notification Listener .. autoclass:: MessageHandlingServer :members: + :noindex: .. autofunction:: get_local_context + :noindex: diff --git a/doc/source/static/.placeholder b/doc/source/static/.placeholder new file mode 100644 index 000000000..e69de29bb diff --git a/setup.cfg b/setup.cfg index 57dfb212a..a95fbfccb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -77,3 +77,6 @@ input_file = oslo.messaging/locale/oslo.messaging.pot keywords = _ gettext ngettext l_ lazy_gettext mapping_file = babel.cfg output_file = oslo.messaging/locale/oslo.messaging.pot + +[pbr] +warnerrors = true