From b6c79a7870f08f9b68e2213ff1fedd8312cd5e66 Mon Sep 17 00:00:00 2001 From: dovholuk <4982017+dovholuk@users.noreply.github.com> Date: Tue, 3 Feb 2026 09:22:32 -0500 Subject: [PATCH] update build-docs.sh --- unified-doc/build-docs.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/unified-doc/build-docs.sh b/unified-doc/build-docs.sh index 36faed1..e823bbc 100755 --- a/unified-doc/build-docs.sh +++ b/unified-doc/build-docs.sh @@ -280,8 +280,8 @@ find "$script_dir/_remotes" -name .git -type d 2>&1 || true if [ "${CLEAN:-0}" -eq 1 ]; then - echo "bd CLEAN=1 removing remotes root: '$script_dir/_remotes'" - rm -rf "$script_dir/_remotes" + echo "bd CLEAN=1 removing contents of _remotes (preserving package.json)" + find "$script_dir/_remotes" -mindepth 1 -maxdepth 1 ! -name 'package.json' -exec rm -rf {} + fi clone_or_update "https://bitbucket.org/netfoundry/zrok-connector.git" frontdoor reusable-doc-plugin @@ -349,6 +349,7 @@ if [ -n "${NO_MINIFY:-}" ]; then MINIFY_FLAG="--no-minify" echo "bd NO_MINIFY set, using --no-minify" fi +echo "NO_MINIFY flag: $MINIFY_FLAG" yarn build $MINIFY_FLAG --out-dir "build${BUILD_QUALIFIER}" 2>&1 popd >/dev/null