diff --git a/docs/Makefile b/docs/Makefile index 1fa5632..9b51871 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,15 +1,5 @@ -# Need to set PYTHONPATH so that we pick up the local tszip -PYPATH=${PWD}/.. -TSZIP_VERSION:=$(shell PYTHONPATH=${PYPATH} \ - python3 -c 'import tszip; print(tszip.__version__.split("+")[0])') - -dev: - PYTHONPATH=${PYPATH} ./build.sh - -dist: - @echo Building distribution for tszip version ${TSZIP_VERSION} - sed -i s/__TSZIP_VERSION__/${TSZIP_VERSION}/g _config.yml - PYTHONPATH=${PYPATH} ./build.sh +all: + ./build.sh clean: rm -fR _build diff --git a/docs/build.sh b/docs/build.sh index c403f24..7efe530 100755 --- a/docs/build.sh +++ b/docs/build.sh @@ -6,7 +6,7 @@ REPORTDIR=_build/html/reports -jupyter-book build -nW --keep-going . +uv run --project=.. --group docs jupyter-book build . -vnW --keep-going RETVAL=$? if [ $RETVAL -ne 0 ]; then if [ -e $REPORTDIR ]; then