File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ script:
129129 gdb -return-child-result -batch -ex r -ex bt --args python tests.py -s --processes=$NPROC --process-timeout=300 $TEST_ARGS
130130 else
131131 cd doc
132- python make.py html --small --warningsaserrors
132+ python make.py html --small
133133 # We don't build the LaTeX docs here, so linkchecker will complain
134134 touch build/html/Matplotlib.pdf
135135 linkchecker build/html/index.html
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ def all():
138138
139139
140140small_docs = False
141- warnings_as_errors = False
141+ warnings_as_errors = True
142142
143143# Change directory to the one containing this file
144144current_dir = os .getcwd ()
@@ -184,14 +184,14 @@ def all():
184184parser .add_argument ("--small" ,
185185 help = "Smaller docs with only low res png figures" ,
186186 action = "store_true" )
187- parser .add_argument ("--warningsaserrors " ,
188- help = "Turn Sphinx warnings into errors" ,
187+ parser .add_argument ("--allowsphinxwarnings " ,
188+ help = "Don't turn Sphinx warnings into errors" ,
189189 action = "store_true" )
190190args = parser .parse_args ()
191191if args .small :
192192 small_docs = True
193- if args .warningsaserrors :
194- warnings_as_errors = True
193+ if args .allowsphinxwarnings :
194+ warnings_as_errors = False
195195
196196if args .cmd :
197197 for command in args .cmd :
You can’t perform that action at this time.
0 commit comments