Skip to content

Commit

Permalink
embedme
Browse files Browse the repository at this point in the history
  • Loading branch information
brichet committed Apr 17, 2023
1 parent 1155dbd commit a5b96b1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions server-extension/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ test = [
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-jupyter>=0.6.0",
"pytest-jupyter[server]>=0.6.0"
]

Expand Down Expand Up @@ -632,7 +633,7 @@ It will build the frontend NPM package through its _factory_, and will ensure on
generated files is `jupyterlab_examples_server/labextension/package.json`:
```py
# pyproject.toml#L57-L68
# pyproject.toml#L58-L69

[tool.hatch.build.hooks.jupyter-builder]
dependencies = ["hatch-jupyter-builder>=0.5"]
Expand All @@ -652,7 +653,7 @@ It will copy the NPM package in the Python package and force it to be copied in
JupyterLab is looking for frontend extensions when the Python package is installed:
```py
# pyproject.toml#L48-L49
# pyproject.toml#L49-L50

[tool.hatch.build.targets.wheel.shared-data]
"jupyterlab_examples_server/labextension" = "share/jupyter/labextensions/@jupyterlab-examples/server-extension"
Expand All @@ -679,7 +680,7 @@ done by copying the following JSON file:
in the appropriate jupyter folder (`etc/jupyter/jupyter_server_config.d`):
```py
# pyproject.toml#L51-L51
# pyproject.toml#L52-L52

"jupyter-config/server-config" = "etc/jupyter/jupyter_server_config.d"
```
Expand All @@ -688,7 +689,7 @@ For backward compatibility with the classical notebook, the old version of that
(`etc/jupyter/jupyter_notebook_config.d`):
```py
# pyproject.toml#L52-L52
# pyproject.toml#L53-L53

"jupyter-config/nb-config" = "etc/jupyter/jupyter_notebook_config.d"
```
Expand Down

0 comments on commit a5b96b1

Please sign in to comment.