Skip to content

Commit fce1902

Browse files
akhmerovjbweston
authored andcommitted
fix compatibility with latex builder
1 parent ea079ff commit fce1902

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_sphinx/execute.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def html(self):
267267
class ThebeSourceNode(docutils.nodes.container):
268268
"""Container that holds the cell source when thebelab is enabled"""
269269

270-
def __init__(self, hide_code):
270+
def __init__(self, rawsource='', *children, hide_code, **attributes):
271271
super().__init__('', hide_code=hide_code)
272272

273273
def html(self):
@@ -296,7 +296,7 @@ class ThebeButtonNode(docutils.nodes.Element):
296296
If no ThebeButton directive is found in the document but thebelab
297297
is enabled, the node is added at the bottom of the document.
298298
"""
299-
def __init__(self, text='Make live'):
299+
def __init__(self, rawsource='', *children, text='Make live', **attributes):
300300
super().__init__('', text=text)
301301

302302
def html(self):

0 commit comments

Comments
 (0)