From bb740ab02da040aa89e8db35b33ba16e67865a79 Mon Sep 17 00:00:00 2001 From: IanoNjuguna Date: Sun, 22 Nov 2026 13:22:06 +0300 Subject: [PATCH] fix(docs): lowercase the four session folders that broke the convention Four folders under q1-2026 were the only ones in the archive with capitals: "14-CIP-68 NFT-Standard" (also the only one with a space), its sibling "Recording", "13-smart-contracts-languages/Recording", and the two wallet integration parts, "Session-1" and "Session-2". Every other session uses lowercase-hyphenated names. Two of the renames change no URL: 14-cip-68-nft-standard's pages and the two Recording pages all carry slugs that already spell them lowercase. The wallet integration pair does change URLs, because Session-1's pages had no slug and were served from the folder path, and Session-2's recordings slug carried a capital S. Fixes: - session-1/session-notes and session-1/recordings gain slugs under /working-group/q1-2026/sessions/10-wallet-integration/session-1/... - session-2/recordings loses the capital in its slug - three redirects keep the old routes alive Session-2 keeps the clean route for that session rather than handing it to Session-1 for symmetry with 08-open-clinic-1. Moving it would break a live URL to fix an inconsistency nobody sees, and the obvious alternative, giving Session-1 the clean route, would need a redirect at a path a real page then occupies. After this, no session-notes page in the archive is slug-less, which is what the generator change in the next layer depends on. Verified in the build output: six routes render, three old routes emit redirect stubs with the right targets, and grep -L '^slug:' over every session-notes page returns nothing. Refs #375 --- .../{Session-1 => session-1}/_category_.json | 0 .../{Session-1 => session-1}/recordings/readme.md | 1 + .../session-notes/readme.md | 1 + .../{Session-2 => session-2}/_category_.json | 0 .../{Session-2 => session-2}/recordings/readme.md | 2 +- .../session-notes/readme.md | 0 .../session-resources/readme.md | 0 .../{Recording => recordings}/readme.md | 0 .../recordings}/readme.md | 0 .../session-notes/readme.md | 0 website/docusaurus.config.ts | 15 +++++++++++++++ website/src/data/sessions.json | 2 +- 12 files changed, 19 insertions(+), 2 deletions(-) rename website/docs/working-group/sessions/q1-2026/10-wallet-integration/{Session-1 => session-1}/_category_.json (100%) rename website/docs/working-group/sessions/q1-2026/10-wallet-integration/{Session-1 => session-1}/recordings/readme.md (86%) rename website/docs/working-group/sessions/q1-2026/10-wallet-integration/{Session-1 => session-1}/session-notes/readme.md (97%) rename website/docs/working-group/sessions/q1-2026/10-wallet-integration/{Session-2 => session-2}/_category_.json (100%) rename website/docs/working-group/sessions/q1-2026/10-wallet-integration/{Session-2 => session-2}/recordings/readme.md (89%) rename website/docs/working-group/sessions/q1-2026/10-wallet-integration/{Session-2 => session-2}/session-notes/readme.md (100%) rename website/docs/working-group/sessions/q1-2026/10-wallet-integration/{Session-2 => session-2}/session-resources/readme.md (100%) rename website/docs/working-group/sessions/q1-2026/13-smart-contracts-languages/{Recording => recordings}/readme.md (100%) rename website/docs/working-group/sessions/q1-2026/{14-CIP-68 NFT-Standard/Recording => 14-cip-68-nft-standard/recordings}/readme.md (100%) rename website/docs/working-group/sessions/q1-2026/{14-CIP-68 NFT-Standard => 14-cip-68-nft-standard}/session-notes/readme.md (100%) diff --git a/website/docs/working-group/sessions/q1-2026/10-wallet-integration/Session-1/_category_.json b/website/docs/working-group/sessions/q1-2026/10-wallet-integration/session-1/_category_.json similarity index 100% rename from website/docs/working-group/sessions/q1-2026/10-wallet-integration/Session-1/_category_.json rename to website/docs/working-group/sessions/q1-2026/10-wallet-integration/session-1/_category_.json diff --git a/website/docs/working-group/sessions/q1-2026/10-wallet-integration/Session-1/recordings/readme.md b/website/docs/working-group/sessions/q1-2026/10-wallet-integration/session-1/recordings/readme.md similarity index 86% rename from website/docs/working-group/sessions/q1-2026/10-wallet-integration/Session-1/recordings/readme.md rename to website/docs/working-group/sessions/q1-2026/10-wallet-integration/session-1/recordings/readme.md index 8ee1e293..959fad9b 100644 --- a/website/docs/working-group/sessions/q1-2026/10-wallet-integration/Session-1/recordings/readme.md +++ b/website/docs/working-group/sessions/q1-2026/10-wallet-integration/session-1/recordings/readme.md @@ -1,4 +1,5 @@ --- +slug: /working-group/q1-2026/sessions/10-wallet-integration/session-1/recordings title: Session 10 Recording sidebar_label: Recordings --- diff --git a/website/docs/working-group/sessions/q1-2026/10-wallet-integration/Session-1/session-notes/readme.md b/website/docs/working-group/sessions/q1-2026/10-wallet-integration/session-1/session-notes/readme.md similarity index 97% rename from website/docs/working-group/sessions/q1-2026/10-wallet-integration/Session-1/session-notes/readme.md rename to website/docs/working-group/sessions/q1-2026/10-wallet-integration/session-1/session-notes/readme.md index 537ff16a..3c587ab0 100644 --- a/website/docs/working-group/sessions/q1-2026/10-wallet-integration/Session-1/session-notes/readme.md +++ b/website/docs/working-group/sessions/q1-2026/10-wallet-integration/session-1/session-notes/readme.md @@ -1,4 +1,5 @@ --- +slug: /working-group/q1-2026/sessions/10-wallet-integration/session-1/session-notes title: Session 10 Overview sidebar_label: Session Notes sidebar_position: 1 diff --git a/website/docs/working-group/sessions/q1-2026/10-wallet-integration/Session-2/_category_.json b/website/docs/working-group/sessions/q1-2026/10-wallet-integration/session-2/_category_.json similarity index 100% rename from website/docs/working-group/sessions/q1-2026/10-wallet-integration/Session-2/_category_.json rename to website/docs/working-group/sessions/q1-2026/10-wallet-integration/session-2/_category_.json diff --git a/website/docs/working-group/sessions/q1-2026/10-wallet-integration/Session-2/recordings/readme.md b/website/docs/working-group/sessions/q1-2026/10-wallet-integration/session-2/recordings/readme.md similarity index 89% rename from website/docs/working-group/sessions/q1-2026/10-wallet-integration/Session-2/recordings/readme.md rename to website/docs/working-group/sessions/q1-2026/10-wallet-integration/session-2/recordings/readme.md index 19073b9d..8d5498e2 100644 --- a/website/docs/working-group/sessions/q1-2026/10-wallet-integration/Session-2/recordings/readme.md +++ b/website/docs/working-group/sessions/q1-2026/10-wallet-integration/session-2/recordings/readme.md @@ -1,7 +1,7 @@ --- title: "Session 2 - Recordings" sidebar_label: Recordings -slug: /working-group/q1-2026/sessions/10-wallet-integration/Session-2/recordings +slug: /working-group/q1-2026/sessions/10-wallet-integration/session-2/recordings --- # Session 2 - Recordings diff --git a/website/docs/working-group/sessions/q1-2026/10-wallet-integration/Session-2/session-notes/readme.md b/website/docs/working-group/sessions/q1-2026/10-wallet-integration/session-2/session-notes/readme.md similarity index 100% rename from website/docs/working-group/sessions/q1-2026/10-wallet-integration/Session-2/session-notes/readme.md rename to website/docs/working-group/sessions/q1-2026/10-wallet-integration/session-2/session-notes/readme.md diff --git a/website/docs/working-group/sessions/q1-2026/10-wallet-integration/Session-2/session-resources/readme.md b/website/docs/working-group/sessions/q1-2026/10-wallet-integration/session-2/session-resources/readme.md similarity index 100% rename from website/docs/working-group/sessions/q1-2026/10-wallet-integration/Session-2/session-resources/readme.md rename to website/docs/working-group/sessions/q1-2026/10-wallet-integration/session-2/session-resources/readme.md diff --git a/website/docs/working-group/sessions/q1-2026/13-smart-contracts-languages/Recording/readme.md b/website/docs/working-group/sessions/q1-2026/13-smart-contracts-languages/recordings/readme.md similarity index 100% rename from website/docs/working-group/sessions/q1-2026/13-smart-contracts-languages/Recording/readme.md rename to website/docs/working-group/sessions/q1-2026/13-smart-contracts-languages/recordings/readme.md diff --git a/website/docs/working-group/sessions/q1-2026/14-CIP-68 NFT-Standard/Recording/readme.md b/website/docs/working-group/sessions/q1-2026/14-cip-68-nft-standard/recordings/readme.md similarity index 100% rename from website/docs/working-group/sessions/q1-2026/14-CIP-68 NFT-Standard/Recording/readme.md rename to website/docs/working-group/sessions/q1-2026/14-cip-68-nft-standard/recordings/readme.md diff --git a/website/docs/working-group/sessions/q1-2026/14-CIP-68 NFT-Standard/session-notes/readme.md b/website/docs/working-group/sessions/q1-2026/14-cip-68-nft-standard/session-notes/readme.md similarity index 100% rename from website/docs/working-group/sessions/q1-2026/14-CIP-68 NFT-Standard/session-notes/readme.md rename to website/docs/working-group/sessions/q1-2026/14-cip-68-nft-standard/session-notes/readme.md diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index c7601dec..4554f7f3 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -162,6 +162,21 @@ const config: Config = { from: "/docs/working-group/q1-2025/sessions/08-open-clinic-1/session-2/recordings/", to: "/docs/working-group/q1-2026/sessions/08-open-clinic-1/session-2/recordings/", }, + { + // Two folder-derived routes under the wallet-integration session: its + // Session-1 pages had no slug, so their URLs came from the folder, which + // these renames changed. One capitalised slug is corrected below too. + from: "/docs/working-group/sessions/q1-2026/wallet-integration/Session-1/session-notes/", + to: "/docs/working-group/q1-2026/sessions/10-wallet-integration/session-1/session-notes/", + }, + { + from: "/docs/working-group/sessions/q1-2026/wallet-integration/Session-1/recordings/", + to: "/docs/working-group/q1-2026/sessions/10-wallet-integration/session-1/recordings/", + }, + { + from: "/docs/working-group/q1-2026/sessions/10-wallet-integration/Session-2/recordings/", + to: "/docs/working-group/q1-2026/sessions/10-wallet-integration/session-2/recordings/", + }, { // The folder was misspelled sesion-notes until 2026-11; the route comes // from the directory name, so the old URL is kept alive here. It points diff --git a/website/src/data/sessions.json b/website/src/data/sessions.json index 53694433..16052082 100644 --- a/website/src/data/sessions.json +++ b/website/src/data/sessions.json @@ -84,7 +84,7 @@ "number": "10", "title": "Wallet Integration & Developer Experience", "quarter": "Q1 2026", - "href": "/docs/working-group/sessions/q1-2026/wallet-integration/Session-1/session-notes/" + "href": "/docs/working-group/q1-2026/sessions/10-wallet-integration/session-1/session-notes" }, { "number": "9",