Some fixes for Jupyter Notebook 7 (#1944)

* Some fixes for Jupyter Notebook 7

* Fix jupyter nbextension

* Remove explicit port setting
This commit is contained in:
Ayaz Salikhov
2023-07-25 12:51:17 +04:00
committed by GitHub
parent ca6272c2be
commit b8d617dc05
3 changed files with 5 additions and 4 deletions

View File

@@ -486,7 +486,7 @@ docker run -it --rm \
start.sh jupyter notebook --NotebookApp.token=''
```
## Enable nbextension spellchecker for markdown (or any other nbextension)
## Enable nbclassic-extension spellchecker for markdown (or any other nbclassic-extension)
NB: this works for classic notebooks only
@@ -499,7 +499,7 @@ USER ${NB_UID}
RUN pip install --no-cache-dir jupyter_contrib_nbextensions && \
jupyter contrib nbextension install --user && \
# can modify or enable additional extensions here
jupyter nbextension enable spellchecker/main --user && \
jupyter nbclassic-extension enable spellchecker/main --user && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"
```