chore: Move command to run jupyter notebooks from Makefile to scripts

This commit is contained in:
Vikash Kothary
2022-01-16 20:49:20 +00:00
parent 1394874993
commit 198f9851a5
3 changed files with 9 additions and 5 deletions

7
scripts/jupyter.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# file: jupyter.sh
# description: Run Jupyter Notebooks.
[[ ! -z "${JUPYTER_CMD}" ]] || JUPYTER_CMD=lab
[[ ! -z "${JUPYTER_NOTEBOOK_DIR}" ]] || JUPYTER_NOTEBOOK_DIR=docs/src/notebooks
${JUPYTER} ${JUPYTER_CMD} --notebook-dir=${JUPYTER_NOTEBOOK_DIR}