Skip to content

Commit 0057ec5

Browse files
committed
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 warnerror one. Change-Id: Icd5cf4c279c566e1eddeede8df11a9d1c4d4c83f
1 parent d3fd4b9 commit 0057ec5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

setup.cfg

+1-5
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ nova.scheduler.driver =
188188
all_files = 1
189189
build-dir = doc/build
190190
source-dir = doc/source
191+
warning-is-error = 1
191192

192193
[build_apiguide]
193194
all_files = 1
@@ -219,8 +220,3 @@ universal = 1
219220
[extras]
220221
osprofiler =
221222
osprofiler>=1.4.0 # Apache-2.0
222-
223-
[pbr]
224-
# Treat sphinx warnings as errors during the docs build; this helps us keep
225-
# the documentation clean.
226-
warnerrors = true

0 commit comments

Comments
 (0)