We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9413591 commit f8225bcCopy full SHA for f8225bc
doc/make.py
@@ -220,10 +220,11 @@ def html(self):
220
if os.path.exists(zip_fname):
221
os.remove(zip_fname)
222
223
- if self.single_doc_html is not None:
224
- self._open_browser(self.single_doc_html)
225
- else:
226
- self._add_redirects()
+ if ret_code == 0:
+ if self.single_doc_html is not None:
+ self._open_browser(self.single_doc_html)
+ else:
227
+ self._add_redirects()
228
return ret_code
229
230
def latex(self, force=False):
0 commit comments