From 89411331f74531332c411f7572ce1a21bdb8a0f9 Mon Sep 17 00:00:00 2001 From: Jerome Kelleher Date: Fri, 27 Feb 2026 14:40:28 +0000 Subject: [PATCH] Standardise docs build: use __PKG_VERSION__, uv-based build.sh, minimal Makefile --- docs/Makefile | 10 ++++------ docs/build.sh | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) 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