Browse Source

Turn on warning-is-error for sphinx build

The doc-migration spec requires all projects to treat warnings
as errors during sphinx build. This patches turns that function
on.

Change-Id: I3b57177cc1dfa34dea57e62bbc93fafa40899899
Samriddhi Jain 1 year ago
parent
commit
a47bcb6b73
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      setup.cfg

+ 1
- 1
setup.cfg View File

@@ -23,12 +23,12 @@ packages =
23 23
 source-dir = doc/source
24 24
 build-dir = doc/build
25 25
 all_files = 1
26
+warning-is-error = 1
26 27
 
27 28
 [upload_sphinx]
28 29
 upload-dir = doc/build/html
29 30
 
30 31
 [pbr]
31
-warnerrors = True
32 32
 autodoc_tree_index_modules = True
33 33
 autodoc_tree_excludes =
34 34
   setup.py

Loading…
Cancel
Save