upgrade sphinx and turn warnings to errors

Update to the version of Sphinx that supports treating warnings as
errors through setup.cfg, and turn on that flag. Fix the warnings that
prevent the build from working in this state.

Change-Id: I41d142e299d107ff5878f8005c7a0c56e6375f7c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-03-03 15:42:28 -05:00
parent 011c65b55a
commit 267904801b
2 changed files with 4 additions and 3 deletions

View File

@ -268,7 +268,7 @@ Manila
.. _p-manila-nddeadline:
Manila New Driver Submission Deadline
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The deadline for submitting new backend drivers to to Manila is 5 June 2017
(23:59 UTC). New drivers must be substantially complete, with unit tests, and
@ -286,7 +286,7 @@ All Manila specs must be approved by 13 Apr 2017 (23:59 UTC).
.. _p-manila-fpfreeze:
Manila Feature Proposal Freeze
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
All new Manila features must be proposed and substantially complete, with unit
tests by 10 July 2017 (23:59 UTC).

View File

@ -39,7 +39,7 @@ console_scripts =
[extras]
sphinxext =
sphinx<1.4
sphinx>=1.5.1
oslosphinx
sphinxcontrib.datatemplates
icalendar
@ -49,6 +49,7 @@ source-dir = doc/source
build-dir = doc/build
all_files = 1
builders = html
warning-is-error = 1
[upload_sphinx]
upload-dir = doc/build/html