Skip to content

Commit cd8debd

Browse files
committed
BUG: builder-inited callback does not take error argument
1 parent 7b47c0c commit cd8debd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,14 @@
6969
html_static_path = ['_static',
7070
'_output']
7171

72-
def jupyterlite_build(app: Sphinx, error):
72+
def jupyterlite_build(app: Sphinx):
7373
from pprint import pprint
7474
pprint('jupyterlite_build')
75-
pprint(error)
7675
pprint(app)
7776
pprint(app.builder)
7877
if app.builder:
7978
pprint(app.builder.format)
80-
if error is not None and app.builder and app.builder.format == "html":
79+
if app.builder and app.builder.format == "html":
8180
subprocess.check_call(['jupyter', 'lite', 'build', '--config',
8281
str(jupyterlite_config)], cwd=str(here))
8382

0 commit comments

Comments
 (0)