From 5b9d21536d308e1eb0a329ce8b7e6d6136ed03e6 Mon Sep 17 00:00:00 2001 From: Andreas Stefl Date: Sun, 9 Aug 2026 10:14:26 +0200 Subject: [PATCH 01/12] feat(html): write the renderer's css and js beside the html again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dropping odr.js made the css and js string constants written into every document, which is what a self-contained view wants but not what a corpus of them wants: the ~20 KB frontend is repeated in each file, and a one-character stylesheet change rewrites all of them. `HtmlConfig::embed_shipped_resources`, `resource_path`, `relative_resource_paths` and `HtmlResource::is_shipped` were left accepted and inert by that change. They mean again what they used to, except for what made them painful: nothing has to be installed next to the library, because the bytes are still the compiled-in constants. Each asset is registered as a shipped `HtmlResource` over a `MemoryFile`, so the existing locator decides between `