Skip to content

Commit

Permalink
Copy the overriding settings instead of a env var
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval committed Nov 29, 2021
1 parent f6d1e1c commit 6909fcc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion binder/postBuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ set -e
# NB: If you want to use Jupytext on your binder, don't install it from source,
# just add "jupytext" to your "binder/requirements.txt" instead.
BUILD_JUPYTERLAB_EXTENSION=1 pip install .[myst]
export JUPYTER_CONFIG_PATH=${PWD}/binder:${JUPYTER_CONFIG_PATH}

mkdir -p ${HOME}/.jupyter/labconfig
cp binder/labconfig/* ${HOME}/.jupyter/labconfig

# Create the notebook for our jupytext demo
jupytext demo/get_started.md --to ipynb --update-metadata '{"jupytext":null}'
Expand Down

0 comments on commit 6909fcc

Please sign in to comment.