Skip to content

Commit 4e19c54

Browse files
authored
Merge pull request #29 from martinRenou/bail_if_error
Bail early if there was an error
2 parents 60aeb58 + f004db2 commit 4e19c54

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/jupyterlite_sphinx.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,10 @@ def inited(app: Sphinx, config):
213213

214214

215215
def jupyterlite_build(app: Sphinx, error):
216+
if error is not None:
217+
# Do not build JupyterLite
218+
return
219+
216220
if app.builder.format == "html":
217221
print("[jupyterlite-sphinx] Running JupyterLite build")
218222

0 commit comments

Comments
 (0)