Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (15 sloc) 564 Bytes
readonly script_name=${0##*/}
function run_failure {
echo "FAILED AT $script_name:$1"
exit 1
trap 'run_failure $LINENO' ERR
set -eu
(cd overwatch_survey && python
readonly tmp_dir=$(mktemp -d)
# convert notebook => markdown (though it'll still contain python code atm)
jupyter nbconvert --to markdown overwatch_survey/Analysis.ipynb --output-dir "static_site"
# we strip out the python code to finalise things afterwards
(cd overwatch_survey && python
(cd static_site && bundle exec jekyll serve)
You can’t perform that action at this time.