From eaaebecf72bdaaf246bedba01d6b7eb9c101cd15 Mon Sep 17 00:00:00 2001 From: Spencer Bryngelson Date: Thu, 19 Feb 2026 10:00:41 +0000 Subject: [PATCH 1/2] Include simulations.json in docs install Add simulations.json to the CMake install list so it gets deployed to mflowcode.github.io alongside index.html. Co-Authored-By: Claude Opus 4.6 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 17345f639d..0f8c1b697e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -834,6 +834,7 @@ if (MFC_DOCUMENTATION) install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/docs/index.html" "${CMAKE_CURRENT_SOURCE_DIR}/docs/404.html" + "${CMAKE_CURRENT_SOURCE_DIR}/docs/simulations.json" DESTINATION "docs/mfc") endif() From 5a8dd031d4cfb5cfc6d06bef822fb8bc5270a8df Mon Sep 17 00:00:00 2001 From: Spencer Bryngelson Date: Thu, 19 Feb 2026 10:15:31 +0000 Subject: [PATCH 2/2] Restore inline sims array in index.html Keep simulations.json as a standalone data file for external consumers, but restore the inline array in index.html so the MFC site works locally (file://) and without depending on the JSON being deployed. Co-Authored-By: Claude Opus 4.6 --- docs/index.html | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/docs/index.html b/docs/index.html index a127691ccb..ba5794e04b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -46,11 +46,38 @@