Skip to content

Commit 00bab63

Browse files
committed
Update static to labextension in __init__.py
1 parent bfcc2da commit 00bab63

File tree

19 files changed

+37
-36
lines changed

19 files changed

+37
-36
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ node_modules/
1010
**/node_modules/**/README.md
1111

1212
static
13+
labextension

advanced/kernel-messaging/jupyterlab_examples_kernel_messaging/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
HERE = osp.abspath(osp.dirname(__file__))
88

9-
with open(osp.join(HERE, 'static', 'package.json')) as fid:
9+
with open(osp.join(HERE, 'labextension', 'package.json')) as fid:
1010
data = json.load(fid)
1111

1212
def _jupyter_labextension_paths():
1313
return [{
14-
'src': 'static',
14+
'src': 'labextension',
1515
'dest': data['name']
1616
}]
1717

advanced/kernel-output/jupyterlab_examples_kernel_output/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
HERE = osp.abspath(osp.dirname(__file__))
88

9-
with open(osp.join(HERE, 'static', 'package.json')) as fid:
9+
with open(osp.join(HERE, 'labextension', 'package.json')) as fid:
1010
data = json.load(fid)
1111

1212
def _jupyter_labextension_paths():
1313
return [{
14-
'src': 'static',
14+
'src': 'labextension',
1515
'dest': data['name']
1616
}]
1717

advanced/server-extension/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,12 +340,12 @@ from ._version import __version__
340340

341341
HERE = osp.abspath(osp.dirname(__file__))
342342

343-
with open(osp.join(HERE, 'static', 'package.json')) as fid:
343+
with open(osp.join(HERE, 'labextension', 'package.json')) as fid:
344344
data = json.load(fid)
345345

346346
def _jupyter_labextension_paths():
347347
return [{
348-
'src': 'static',
348+
'src': 'labextension',
349349
'dest': data['name']
350350
}]
351351

advanced/server-extension/jlab_ext_example/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
HERE = osp.abspath(osp.dirname(__file__))
88

9-
with open(osp.join(HERE, 'static', 'package.json')) as fid:
9+
with open(osp.join(HERE, 'labextension', 'package.json')) as fid:
1010
data = json.load(fid)
1111

1212
def _jupyter_labextension_paths():
1313
return [{
14-
'src': 'static',
14+
'src': 'labextension',
1515
'dest': data['name']
1616
}]
1717

basics/datagrid/jupyterlab_examples_datagrid/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
HERE = osp.abspath(osp.dirname(__file__))
88

9-
with open(osp.join(HERE, 'static', 'package.json')) as fid:
9+
with open(osp.join(HERE, 'labextension', 'package.json')) as fid:
1010
data = json.load(fid)
1111

1212
def _jupyter_labextension_paths():
1313
return [{
14-
'src': 'static',
14+
'src': 'labextension',
1515
'dest': data['name']
1616
}]
1717

basics/hello-world/jupyterlab_examples_hello_world/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
HERE = osp.abspath(osp.dirname(__file__))
88

9-
with open(osp.join(HERE, 'static', 'package.json')) as fid:
9+
with open(osp.join(HERE, 'labextension', 'package.json')) as fid:
1010
data = json.load(fid)
1111

1212
def _jupyter_labextension_paths():
1313
return [{
14-
'src': 'static',
14+
'src': 'labextension',
1515
'dest': data['name']
1616
}]
1717

basics/signals/jupyterlab_examples_signals/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
HERE = osp.abspath(osp.dirname(__file__))
88

9-
with open(osp.join(HERE, 'static', 'package.json')) as fid:
9+
with open(osp.join(HERE, 'labextension', 'package.json')) as fid:
1010
data = json.load(fid)
1111

1212
def _jupyter_labextension_paths():
1313
return [{
14-
'src': 'static',
14+
'src': 'labextension',
1515
'dest': data['name']
1616
}]
1717

command-palette/jupyterlab_examples_command_palette/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
HERE = osp.abspath(osp.dirname(__file__))
88

9-
with open(osp.join(HERE, 'static', 'package.json')) as fid:
9+
with open(osp.join(HERE, 'labextension', 'package.json')) as fid:
1010
data = json.load(fid)
1111

1212
def _jupyter_labextension_paths():
1313
return [{
14-
'src': 'static',
14+
'src': 'labextension',
1515
'dest': data['name']
1616
}]
1717

commands/jupyterlab_examples_commands/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
HERE = osp.abspath(osp.dirname(__file__))
88

9-
with open(osp.join(HERE, 'static', 'package.json')) as fid:
9+
with open(osp.join(HERE, 'labextension', 'package.json')) as fid:
1010
data = json.load(fid)
1111

1212
def _jupyter_labextension_paths():
1313
return [{
14-
'src': 'static',
14+
'src': 'labextension',
1515
'dest': data['name']
1616
}]
1717

0 commit comments

Comments
 (0)