diff options
author | Stephen Finucane <sfinucan@redhat.com> | 2017-03-16 14:45:05 +0000 |
---|---|---|
committer | Stephen Finucane <sfinucan@redhat.com> | 2017-03-16 15:22:18 +0000 |
commit | 1251c0fef1f36b9c94c11f26b0818a2600bc58ff (patch) | |
tree | 06f8ecad5273ad6ed6227b75457e771ec6a829b0 | |
parent | 06c993d5509772c82a407cce35df6245073bb14c (diff) | |
download | oslo-messaging-1251c0fef1f36b9c94c11f26b0818a2600bc58ff.tar.gz |
Use Sphinx 1.5 warning-is-error
With pbr 2.0 and Sphinx 1.5, the setting for treat sphinx warnings as
errors is setting warning-is-error in build_sphinx section. Migrate
the setting from the old warnerrors one.
The history document is removed because some of the commit messages used
in ChangeLog were being identified as invalid markup and there doesn't
appear to be anyway to edit there retroactively nor disable warnings on
a specific file.
Change-Id: I79e7ac56d5af1151865686761f3d40a11efbf472
-rw-r--r-- | doc/source/history.rst | 1 | ||||
-rw-r--r-- | doc/source/index.rst | 8 | ||||
-rw-r--r-- | setup.cfg | 6 |
3 files changed, 2 insertions, 13 deletions
diff --git a/doc/source/history.rst b/doc/source/history.rst deleted file mode 100644 index 69ed4fe..0000000 --- a/doc/source/history.rst +++ /dev/null @@ -1 +0,0 @@ -.. include:: ../../ChangeLog diff --git a/doc/source/index.rst b/doc/source/index.rst index 8125127..f66d6e1 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -31,14 +31,6 @@ Contents FAQ contributing -Release Notes -============= - -.. toctree:: - :maxdepth: 1 - - history - Indices and tables ================== @@ -81,9 +81,10 @@ oslo.config.opts = oslo.messaging = oslo_messaging.opts:list_opts [build_sphinx] +warning-is-error = 1 +all-files = 1 source-dir = doc/source build-dir = doc/build -all_files = 1 [upload_sphinx] upload-dir = doc/build/html @@ -101,6 +102,3 @@ 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 |