From 9fbce11be436452456ab400d08a3976a4cf71f6d Mon Sep 17 00:00:00 2001
From: Jason Kridner <jkridner@beagleboard.org>
Date: Mon, 27 Nov 2023 14:28:07 -0500
Subject: [PATCH] Disable todo items in docs.beagleboard.org

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

diff --git a/gitlab-build.sh b/gitlab-build.sh
index b6f7abfb..d0032fa8 100755
--- a/gitlab-build.sh
+++ b/gitlab-build.sh
@@ -54,12 +54,12 @@ HERE
 
 	echo "**** make html ****"
 	# Build and serve HTML
-	make html BUILDDIR=public/$VER_DIR
+	make html BUILDDIR=public/$VER_DIR $1
 	mv public/$VER_DIR/html/* public/$VER_DIR/
 
 	echo "**** make latexpdf ****"
 	# Build, optimize, and serve PDF
-	make latexpdf BUILDDIR=public/$VER_DIR
+	make latexpdf BUILDDIR=public/$VER_DIR $1
 
 	echo "**** pdfcpu ****"
 	if [ "x${CI_RUNNER_EXECUTABLE_ARCH}" == "xlinux/arm64" ] ; then
@@ -138,7 +138,7 @@ elif [ "$CI_COMMIT_TAG" != "" ]; then
 		export VER_DIR=$GIT_BRANCH
 		export PAGES_SLUG=$GIT_BRANCH
 	fi
-	do_build
+	do_build -D todo_include_todos=False
 else
 	echo "***** Not on a branch or tag *****"
 fi
-- 
GitLab