From d7d6d0dc47f59163d13389cb60ed2abf44c3c810 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Mon, 9 Nov 2026 16:41:05 -0600 Subject: [PATCH] ci(docs) Refine the pages and list the new ports why: On a cold load the Core player was drawn at its last call and the script reset it to the first a moment later, and the controls bar appeared and pushed the player down, so the page jumped. Pages told a reader how they were made (the revision, sandbox and generator of a recording, a library revision under an example, a generator under an API page), which belongs in the commit that refreshed the data. The Core player's Error handling and Cleanup toggles took a row of their own above the code, and its step dots were spread across the controls bar, so on a tight bar a long program's dots crowded until a finger could not tell them apart. Chrome on iOS shrinks the window height under the on-screen keyboard, so the API reference sidebar and the sticky member bars shrank when a reader focused the search field. The site header's port picker and the ports list offered only the ports that had documentation before OCaml, Haskell, Perl, Clojure, Common Lisp and Erlang. The port build ran GitHub actions by floating tag, so a retagged release would have changed what builds this port's pages. what: - Draw the Core player on the server at the frame its script first shows, the tmux before the first call, with its controls bar in place at its first count, so binding the script moves nothing; a reader with no script, and one who asked for less motion until the script binds, see the finished frame (`CorePlayer.astro`, `ReplayControls.astro`, `core-player.css`) - Drop the Core player's info button, its popover and its no-script note on how the run was recorded; the controls bar keeps its other buttons (`CorePlayer.astro`, `ReplayControls.astro`) - Drop the "Library revision" line from an example's setup details and the "Generated from the source" line under the API pages that had one (`HomeExample.astro`, `[...slug].astro`) - Put the Core player's Error handling and Cleanup toggles in a toolbar row at the bottom of its code panel, below the code and outside the part that scrolls, where they sat in a row above it, so toggling moves no edge of the player; and let the step dots of its controls bar scroll inside a rail with a button at each end to page them, where they were spread across the bar and crowded on a tight one (`HomeExample.astro`, `core-player.css`, `ReplayControls.astro`, `replay-player.ts`, `mcp-replay.css`) - Keep the API reference sidebar and the sticky member bars at their height when an on-screen keyboard opens, where Chrome on iOS shrank the window under it and the sidebar and the bars shrank with it: while a field has focus the pages measure the tallest height seen at this width (`stable-viewport.ts`, `api-tree.ts`, `ApiPageContents.astro`) - List OCaml among the ports of the site: in the port picker of the site header and in the Compiled & native group of the ports list; OCaml's own pages are published by its own repository, not by this caller (`shell.js`, `ports.ts`, `port-families.ts`) - List Haskell among the ports of the site: in the port picker of the site header and in the Compiled & native group of the ports list; Haskell's own pages are published by its own repository, not by this caller (`shell.js`, `ports.ts`, `port-families.ts`) - List Perl among the ports of the site: in the port picker of the site header and in the Scripting & web group of the ports list; Perl's own pages are published by its own repository, not by this caller (`shell.js`, `ports.ts`, `port-families.ts`) - Pin the port build's GitHub actions to commits of the releases it used by tag (checkout v7.0.1, setup-node v7, pnpm/action-setup v6), and have the build ask the registry whether a port excludes MCP before it generates MCP data, which no existing port does (`port-docs.yml`, `build-site.sh`) - List Clojure among the ports of the site: in the port picker of the site header and in the JVM group of the ports list; Clojure's own pages are published by its own repository, not by this caller (`shell.js`, `ports.ts`, `port-families.ts`) - List Common Lisp among the ports of the site: in the port picker of the site header and in the Compiled & native group of the ports list; Common Lisp's own pages are published by its own repository, not by this caller (`shell.js`, `ports.ts`, `port-families.ts`) - List Erlang among the ports of the site: in the port picker of the site header and in the BEAM group of the ports list; Erlang's own pages are published by its own repository, not by this caller (`shell.js`, `ports.ts`, `port-families.ts`) Shared source: libtmux/docs From: c5b56f2b90002281adb95616a3e523e0a192937c To: 8245169584882f09e302881f136512df41aba2a4 --- .github/workflows/docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f49b7f0c..91a30900 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -222,7 +222,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: libtmux/docs - ref: c5b56f2b90002281adb95616a3e523e0a192937c + ref: 8245169584882f09e302881f136512df41aba2a4 path: docs persist-credentials: false @@ -304,7 +304,7 @@ jobs: permissions: contents: read id-token: write - uses: libtmux/docs/.github/workflows/reusable-deploy.yml@c5b56f2b90002281adb95616a3e523e0a192937c + uses: libtmux/docs/.github/workflows/reusable-deploy.yml@8245169584882f09e302881f136512df41aba2a4 with: path-prefix: lua/${{ matrix.version }} artifact: docs-lua-${{ matrix.version }}