Release v2.10.0: Add hs-closeups-sync to automatically re-render homepage UI closeups when page UI elements change

This commit is contained in:
Hermes Agent committed 2026-12-01 08:36:30 +00:00
1 parent 72fc095489
commit 75e80f6a66
16 files changed
+1350 -11

No files matched your search

@@ -475,7 +475,7 @@ def sync_all_repo_readmes(
PRE_COMMIT_HOOK_SCRIPT = """#!/usr/bin/env bash
# Auto-installed by hyperstitionstud_io.publishing.readme_sync (hs-readme-sync --install-hooks)
# Synchronizes root README.md with the staged commit scope and current release version before every commit.
# Re-renders homepage UI closeups when page UI elements change and synchronizes root README.md before every commit.
set -euo pipefail
REPO_ROOT="$(git rev-parse --show-toplevel)"
@@ -485,6 +485,10 @@ CORE_SRC="${WS_ROOT}/hyperstitionstudio-core/src"
if [[ -d "${CORE_SRC}" ]]; then
export PYTHONPATH="${CORE_SRC}${PYTHONPATH:+:${PYTHONPATH}}"
python3 -m hyperstitionstud_io.publishing.closeups_sync
if [[ -d "${WS_ROOT}/hyperstitionstudio-core/site/assets/closeups" ]] && [[ "${REPO_NAME}" == "hyperstitionstudio-core" ]]; then
git -C "${REPO_ROOT}" add site/assets/closeups/
fi
python3 -m hyperstitionstud_io.publishing.readme_sync --repo "${REPO_NAME}" --stage
fi
"""