diff --git a/scripts/build-pages.sh b/scripts/build-pages.sh index fe63c086f..1af1f6405 100755 --- a/scripts/build-pages.sh +++ b/scripts/build-pages.sh @@ -66,6 +66,40 @@ else EOF fi +echo "[build-pages] Creating Vercel-compatible directory structure" +mkdir -p ".pages/docs/pages" +cat > ".pages/docs/pages/index.html" <<'EOF' + + + + + + ComfyUI Frontend Documentation + + + +
+

ComfyUI Frontend Documentation

+
+

🔄 Redirecting to Main Documentation

+

This page will redirect you to the main ComfyUI Frontend documentation.

+

If the redirect doesn't work, please visit: Main Documentation

+
+ + +
+ + +EOF + echo "[build-pages] Landing page already exists at .pages/index.html" echo "[build-pages] Build artifacts ready in ./.pages"