Skip to content

Commit a5c90af

Browse files
Standardise docs build: use __PKG_VERSION__, uv-based build.sh, minimal Makefile
1 parent f863281 commit a5c90af

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

docs/Makefile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
BUILDDIR = _build
2-
DOXYGEN_XML=doxygen/xml
1+
BUILDDIR = _build
2+
DOXYGEN_XML = doxygen/xml
33

4-
all: ${DOXYGEN_XML} dev
4+
all: ${DOXYGEN_XML}
5+
./build.sh
56

67
${DOXYGEN_XML}: ../c/tskit/*.h
78
cd doxygen && doxygen
89

9-
dev:
10-
uv --project=../python run jupyter-book build -Wn --keep-going .
11-
1210
clean:
1311
rm -fR $(BUILDDIR) $(DOXYGEN_XML)

docs/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
REPORTDIR=_build/html/reports
88

9-
jupyter-book build -Wn --keep-going .
9+
uv run --project=../python --group docs jupyter-book build . -vnW --keep-going
1010
RETVAL=$?
1111
if [ $RETVAL -ne 0 ]; then
1212
if [ -e $REPORTDIR ]; then

0 commit comments

Comments
 (0)