add-documentation-site
-OpenSpec change · Bead morphir-ukvn.9 · 2026-10-28 · Implemented, awaiting review
OpenSpec change · Bead morphir-ukvn.9 · 2026-10-28 · Published foundation; MoonBit visual alignment in progress
From 3c06a55415b0f98aa5982d8e0f56dc59138716bb Mon Sep 17 00:00:00 2001 From: Damian Reeves <957246+DamianReeves@users.noreply.github.com> Date: Wed, 28 Oct 2026 03:29:24 -0500 Subject: [PATCH] docs(site): adopt the Morphir MoonBit design --- NOTICE | 4 + docs/site-foundation.md | 19 ++ .../add-documentation-site/design.html | 5 +- .../add-documentation-site/proposal.md | 2 +- .../specs/docs/site/spec.md | 7 + .../changes/add-documentation-site/tasks.md | 2 + scripts/site_tool.py | 33 ++++ site/browser/site.spec.mjs | 26 +++ site/pages/index.html | 55 ++++++ site/pages/index.md | 32 ---- site/theme/README.md | 11 ++ site/theme/morphir.css | 175 ++++++++++++++++++ tests/unit/test_site_tool.py | 36 ++++ 13 files changed, 373 insertions(+), 34 deletions(-) create mode 100644 site/pages/index.html delete mode 100644 site/pages/index.md create mode 100644 site/theme/README.md create mode 100644 site/theme/morphir.css diff --git a/NOTICE b/NOTICE index 1499d7b0..57d47999 100644 --- a/NOTICE +++ b/NOTICE @@ -2,3 +2,7 @@ morphir-python - FINOS Copyright 2026 - FINOS - info@finos.org This product includes software developed at the Fintech Open Source Foundation (https://www.finos.org/). + +The documentation theme adapts the FINOS morphir-moonbit site design +from revision bd3adc52e6b8f6368fdaee50f76535799732f8d6, under Apache-2.0. +See site/theme/README.md for source attribution. diff --git a/docs/site-foundation.md b/docs/site-foundation.md index 44cf6d42..7ee8413a 100644 --- a/docs/site-foundation.md +++ b/docs/site-foundation.md @@ -38,3 +38,22 @@ Telescope 0.2.1 treats existing files outside discovered roots as missing. minimal reproduction and requested source-link contract. Explicit GitHub URLs are the current non-blocking workaround; internal published-page links remain relative and checked. + +## Morphir theme and landing page + +The Python site uses the blue/orange palette and responsive landing-page design +from [morphir-moonbit at bd3adc52](https://github.com/finos/morphir-moonbit/blob/bd3adc52e6b8f6368fdaee50f76535799732f8d6/site/pages/index.html). +The attributed consumer theme lives in `site/theme/morphir.css`; its README +records the source revision and digest. The landing model matches the checked +`examples/model/acme/models.py` source. Browser checks cover both themes, narrow +and desktop screens, root and project bases, guide navigation and exact colors. + +Telescope 0.2.1 has no consumer stylesheet hook. Replacing its reserved +`assets/site.css` through static resources fails with a duplicate-output error. +[Telescope issue 13](https://github.com/moonrockz/telescope/issues/13) records the +reproduction and requested reusable extension. The current consumer build stages +stock output, appends the theme to its CSS, runs the stock checker on those final +bytes, then atomically promotes the checked tree. A failed stylesheet check +preserves the previous output. The site publisher seals those final bytes, so +there is no styling transformation during deployment. Adopt a published upstream +stylesheet hook when qualified, replacing this bounded workaround. diff --git a/openspec/changes/add-documentation-site/design.html b/openspec/changes/add-documentation-site/design.html index bcbd06aa..52df927b 100644 --- a/openspec/changes/add-documentation-site/design.html +++ b/openspec/changes/add-documentation-site/design.html @@ -22,7 +22,7 @@