From 7cc001ddf442a872b274221045019768ca819179 Mon Sep 17 00:00:00 2001
From: LJ <81748770+elle-j@users.noreply.github.com>
Date: Thu, 15 Jan 2026 13:37:02 +0100
Subject: [PATCH] Update rendering of `resolc` binaries Markdown tables (#454)
Fixes the rendering of the Markdown tables for `resolc-bin` which do not
render inside the `details` tags for GH pages. Removes `details` and
instead adds a table of contents at the top for fast navigation to
respective platform.
---
.github/scripts/resolc-bin-gh-pages.sh | 60 ++++++--------------------
1 file changed, 12 insertions(+), 48 deletions(-)
diff --git a/.github/scripts/resolc-bin-gh-pages.sh b/.github/scripts/resolc-bin-gh-pages.sh
index 2debdf8..b10faa2 100644
--- a/.github/scripts/resolc-bin-gh-pages.sh
+++ b/.github/scripts/resolc-bin-gh-pages.sh
@@ -59,99 +59,63 @@ title: resolc-bin
---
# resolc-bin
+{:.no_toc}
Listed here are details about the \`resolc\` binary releases for the supported platforms.
The information is synced with the [resolc-bin GitHub repository](https://github.com/paritytech/resolc-bin).
-## Linux
+* TOC
+{:toc}
-
-See builds
+## Linux
$(render_builds_table $linux)
-
-
-[JSON](https://paritytech.github.io/resolc-bin/linux/list.json)
+[Full JSON](https://paritytech.github.io/resolc-bin/linux/list.json)
## MacOS
-
-See builds
-
$(render_builds_table $macos)
-
-
-[JSON](https://paritytech.github.io/resolc-bin/macos/list.json)
+[Full JSON](https://paritytech.github.io/resolc-bin/macos/list.json)
## Wasm
-
-See builds
-
$(render_builds_table $wasm)
-
-
-[JSON](https://paritytech.github.io/resolc-bin/wasm/list.json)
+[Full JSON](https://paritytech.github.io/resolc-bin/wasm/list.json)
## Windows
-
-See builds
-
$(render_builds_table $windows)
-
-
-[JSON](https://paritytech.github.io/resolc-bin/windows/list.json)
+[Full JSON](https://paritytech.github.io/resolc-bin/windows/list.json)
## Nightly
### Linux
-
-See builds
-
$(render_builds_table $nightly_linux)
-
-
-[JSON](https://paritytech.github.io/resolc-bin/nightly/linux/list.json)
+[Full JSON](https://paritytech.github.io/resolc-bin/nightly/linux/list.json)
### MacOS
-
-See builds
-
$(render_builds_table $nightly_macos)
-
-
-[JSON](https://paritytech.github.io/resolc-bin/nightly/macos/list.json)
+[Full JSON](https://paritytech.github.io/resolc-bin/nightly/macos/list.json)
### Wasm
-
-See builds
-
$(render_builds_table $nightly_wasm)
-
-
-[JSON](https://paritytech.github.io/resolc-bin/nightly/wasm/list.json)
+[Full JSON](https://paritytech.github.io/resolc-bin/nightly/wasm/list.json)
### Windows
-
-See builds
-
$(render_builds_table $nightly_windows)
-
-
-[JSON](https://paritytech.github.io/resolc-bin/nightly/windows/list.json)
+[Full JSON](https://paritytech.github.io/resolc-bin/nightly/windows/list.json)
EOF
echo "File has been updated!"