From 64e36381843c9bae6299f2bbbc18f5ebfb7664db Mon Sep 17 00:00:00 2001
From: Deepak Khatri <lorforlinux@beagleboard.org>
Date: Mon, 3 Jul 2023 18:20:20 +0530
Subject: [PATCH] Fix HTML build

---
 gitlab-build.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gitlab-build.sh b/gitlab-build.sh
index 2eaa85e2..7800289e 100755
--- a/gitlab-build.sh
+++ b/gitlab-build.sh
@@ -38,9 +38,8 @@ HERE
 
 	echo "**** Updating $PAGES_URL/$VER_DIR ****"
 
-	make clean BUILDDIR=public/$VER_DIR
-	make html BUILDDIR=public/$VER_DIR
-	make latexpdf BUILDDIR=public/$VER_DIR
+	sphinx-build -b html . public/$VER_DIR/
+	make latexpdf BUILDDIR=public/$VER_DIR/
 	pdfcpu optimize public/$VER_DIR/latex/beagleboard-docs.pdf
 	mv public/$VER_DIR/latex/beagleboard-docs.pdf public/$VER_DIR/
 	rm -rf public/$VER_DIR/latex
-- 
GitLab