File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ def html(self):
106106 f'width="{ self ["width" ]} " height="{ self ["height" ]} " class="jupyterlite_sphinx_raw_iframe"></iframe>'
107107 )
108108
109+
109110class _InTab (Element ):
110111 def __init__ (
111112 self ,
@@ -124,9 +125,7 @@ def __init__(
124125 options = "&" .join (
125126 [f"{ key } ={ quote (value )} " for key , value in lite_options .items ()]
126127 )
127- self .lab_src = (
128- f'{ prefix } /{ app_path } { f"?{ options } " if options else "" } '
129- )
128+ self .lab_src = f'{ prefix } /{ app_path } { f"?{ options } " if options else "" } '
130129
131130 super ().__init__ (
132131 "" ,
@@ -198,6 +197,7 @@ class JupyterLiteIframe(_LiteIframe):
198197 lite_app = "lab/"
199198 notebooks_path = ""
200199
200+
201201class JupyterLiteTab (_InTab ):
202202 """Appended to the doctree by the JupyterliteDirective directive
203203
@@ -207,6 +207,7 @@ class JupyterLiteTab(_InTab):
207207 lite_app = "lab/"
208208 notebooks_path = ""
209209
210+
210211class NotebookLiteIframe (_LiteIframe ):
211212 """Appended to the doctree by the NotebookliteDirective directive
212213
You can’t perform that action at this time.
0 commit comments