Skip to content

Commit c4902be

Browse files
committed
Run embedme
1 parent b9cdb3a commit c4902be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

advanced/server-extension/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ the frontend NPM package needs to be built and inserted in the Python package. T
595595
done using a special `cmdclass`:
596596
597597
```py
598-
# setup.py#L44-L52
598+
# setup.py#L43-L51
599599

600600
cmdclass = create_cmdclass("jsdeps",
601601
package_data_spec=package_data_spec,
@@ -611,7 +611,7 @@ js_command = combine_commands(
611611
Basically it will build the frontend NPM package:
612612
613613
```py
614-
# setup.py#L50-L50
614+
# setup.py#L49-L49
615615

616616
install_npm(HERE, build_cmd="build:prod", npm=["jlpm"]),
617617
```
@@ -633,7 +633,7 @@ JupyterLab is looking for frontend extensions when the Python package is install
633633
```py
634634
# setup.py#L38-L38
635635

636-
("share/jupyter/labextensions/%s" % labext_name, lab_path, "**"),
636+
("share/jupyter/labextensions/%s" % labext_name, lab_path, "**"),
637637
```
638638
639639
The last piece of configuration needed is the enabling of the server extension. This is
@@ -657,7 +657,7 @@ in the appropriate jupyter folder (`etc/jupyter/jupyter_server_config.d`):
657657
```py
658658
# setup.py#L40-L40
659659

660-
("etc/jupyter/jupyter_server_config.d", "jupyter-config", "jlab_ext_example.json"),
660+
("etc/jupyter/jupyter_server_config.d", "jupyter-config", "jlab_ext_example.json"),
661661
```
662662
663663
### JupyterLab Extension Manager

0 commit comments

Comments
 (0)