diff --git a/docs/Makefile b/docs/Makefile index 493f52efeb..3af69a3472 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,13 +1,11 @@ -BUILDDIR = _build -DOXYGEN_XML=doxygen/xml +BUILDDIR = _build +DOXYGEN_XML = doxygen/xml -all: ${DOXYGEN_XML} dev +all: ${DOXYGEN_XML} + ./build.sh ${DOXYGEN_XML}: ../c/tskit/*.h cd doxygen && doxygen -dev: - uv --project=../python run jupyter-book build -Wn --keep-going . - clean: rm -fR $(BUILDDIR) $(DOXYGEN_XML) diff --git a/docs/build.sh b/docs/build.sh index d454c14173..5c1a4cf86f 100755 --- a/docs/build.sh +++ b/docs/build.sh @@ -6,7 +6,7 @@ REPORTDIR=_build/html/reports -jupyter-book build -Wn --keep-going . +uv run --project=../python --group docs jupyter-book build . -vnW --keep-going RETVAL=$? if [ $RETVAL -ne 0 ]; then if [ -e $REPORTDIR ]; then