From 868e67ad4bb7bbb21ff0e040bee9856d36dae904 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 12 Jan 2026 20:12:27 +0000 Subject: [PATCH] feat: render current spec on index page instead of redirecting - Update index.astro to fetch and render the current spec version directly rather than redirecting to /spec/{version} - Move .spec-content styles from [version].astro to global.css to share styles between index and version pages - Rebuild site with new index page --- docs/404.html | 2 +- docs/_astro/_version_.BDyAzQHc.css | 1 - docs/_astro/index.CYX_jCfY.css | 1 + docs/index.html | 386 ++++++++++++++++++++++++++++- docs/spec/1.0.0-rc.1/index.html | 6 +- docs/spec/1.0.0-rc.2/index.html | 6 +- docs/spec/1.0.0-rc.3/index.html | 6 +- docs/spec/1.0.0-rc.4/index.html | 6 +- docs/spec/1.0.0-rc.5/index.html | 6 +- src/pages/index.astro | 19 +- src/pages/spec/[version].astro | 81 ------ src/styles/global.css | 76 ++++++ 12 files changed, 490 insertions(+), 106 deletions(-) delete mode 100644 docs/_astro/_version_.BDyAzQHc.css create mode 100644 docs/_astro/index.CYX_jCfY.css diff --git a/docs/404.html b/docs/404.html index 5451fc9..2781268 100644 --- a/docs/404.html +++ b/docs/404.html @@ -9,7 +9,7 @@ document.documentElement.classList.add("dark"); } })(); - +