diff options
author | Stephen Finucane <sfinucan@redhat.com> | 2017-03-16 15:42:44 +0000 |
---|---|---|
committer | Stephen Finucane <sfinucan@redhat.com> | 2017-03-20 10:11:47 +0000 |
commit | 886d8c6dabc05937be9fbec840fc3849badc55cd (patch) | |
tree | 40809866c92171061d05d760ce9aa4a00017b82a /setup.cfg | |
parent | 395177145622a5c37b8cfb53989084e2ff03ad98 (diff) | |
download | oslo-policy-886d8c6dabc05937be9fbec840fc3849badc55cd.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.
There are some invalid docstrings. These are cleaned up.
Change-Id: Ic6a028bab428b23255f36e5b2d64ee8d4d32978d
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -23,8 +23,10 @@ packages = oslo_policy [pbr] -warnerrors = true autodoc_tree_index_modules = True +autodoc_tree_excludes = + setup.py + oslo_policy/tests/ [entry_points] oslo.config.opts = @@ -37,9 +39,10 @@ console_scripts = oslopolicy-list-redundant = oslo_policy.generator:list_redundant [build_sphinx] +all-files = 1 +warning-is-error = 1 source-dir = doc/source build-dir = doc/build -all_files = 1 [upload_sphinx] upload-dir = doc/build/html |