Skip to content

Commit 07d7463

Browse files
committed
Keep just one copy of the double-click workaround.
1 parent e03a82f commit 07d7463

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

.binder/postBuild

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
set -eux
33

44
mkdir -p ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings
5-
cp jupyterlab_config.json ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings/overrides.json
5+
cp overrides.json ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings/overrides.json
File renamed without changes.

pixi.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ start = "jupyter lab"
2626
test = "bash ./test.sh"
2727

2828
[activation]
29-
scripts = ["setup_jupyterlab_config.sh"]
29+
# Workaround overrides JupyterLab configuration (at the environment level) to
30+
# make double-clicking on a Jupytext Markdown file open that file as a
31+
# notebook. This is important for the development workflow for contributors.
32+
scripts = ["bash .binder/postBuild"]
3033

3134
[dependencies]
3235
python = ">=3.11"

setup_jupyterlab_config.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)