Skip to content

Commit

Permalink
feat: enable jupytext
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Dec 2, 2024
1 parent aad5dcf commit bb04044
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ dependencies:
- folium=0.18.0
- branca=0.7.2
- mapclassify=2.8.1
# Do not pin external dependencies
- jupyterlab
- jupytext
7 changes: 7 additions & 0 deletions overrides.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"@jupyterlab/docmanager-extension:plugin": {
"defaultViewers": {
"markdown": "Jupytext Notebook"
}
}
}
5 changes: 5 additions & 0 deletions postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -eux

mkdir -p ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings
cp overrides.json ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings

0 comments on commit bb04044

Please sign in to comment.