Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
build/bin/sage-site (--docbuild): Poison JUPYTER_CONFIG_DIR, JUPYTER_…
Browse files Browse the repository at this point in the history
…CONFIG_PATH
  • Loading branch information
Matthias Koeppe committed Apr 6, 2022
1 parent 78bfb6c commit b397afc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/bin/sage-site
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,11 @@ if [ "$1" = "-docbuild" -o "$1" = "--docbuild" ]; then
export OMP_NUM_THREADS=1
fi

# Trac #33650: Make sure that user configuration of Jupyter does not
# shadow our sagemath kernel when jupyter-sphinx is invoked
export JUPYTER_CONFIG_DIR=/doesnotexist
export JUPYTER_CONFIG_PATH=/doesnotexist

exec sage-python -m sage_docbuild "$@" </dev/null
fi

Expand Down

0 comments on commit b397afc

Please sign in to comment.