From ac838ce86f0caf8a7a141e52afe4eabe89c75c7e Mon Sep 17 00:00:00 2001 From: IanoNjuguna Date: Sun, 22 Nov 2026 13:15:22 +0300 Subject: [PATCH] fix(docs): make the q1-2026 session slugs say q1-2026 Six pages under q1-2026/07-contributing-intersect and q1-2026/08-open-clinic-1 carried slugs under /working-group/q1-2025/, so their URLs claimed a quarter three of their own folders never lived in. Nothing was broken for a reader, but it is the kind of thing that makes a route map lie: 07 and 08 sit inside 2026 and their neighbours' slugs say 2026. Rewrites the six slugs to match the folder, and adds the six old routes to the redirect array so inbound links and search results keep working. Regenerated src/data/sessions.json: the generator reads the slug, so two carousel hrefs move off q1-2025 with no edit to the script. Verified in the build output: all six q1-2025 paths emit a redirect stub pointing at the q1-2026 route, all three spot-checked new routes render, and sessions.json no longer contains the string q1-2025. Refs #375 --- .../recordings/readme.md | 2 +- .../session-notes/readme.md | 2 +- .../session-1/recordings/readme.md | 2 +- .../session-1/session-notes/readme.md | 2 +- .../session-1/session-resources/readme.md | 2 +- .../session-2/recordings/readme.md | 2 +- website/docusaurus.config.ts | 26 +++++++++++++++++++ website/src/data/sessions.json | 4 +-- 8 files changed, 34 insertions(+), 8 deletions(-) diff --git a/website/docs/working-group/sessions/q1-2026/07-contributing-intersect/recordings/readme.md b/website/docs/working-group/sessions/q1-2026/07-contributing-intersect/recordings/readme.md index 52c2c4f8..f5d01ee5 100644 --- a/website/docs/working-group/sessions/q1-2026/07-contributing-intersect/recordings/readme.md +++ b/website/docs/working-group/sessions/q1-2026/07-contributing-intersect/recordings/readme.md @@ -1,7 +1,7 @@ --- title: "Session 07: Contributing to Intersect - Recordings" sidebar_label: Recordings -slug: /working-group/q1-2025/sessions/07-contributing-intersect/recordings +slug: /working-group/q1-2026/sessions/07-contributing-intersect/recordings --- # Session 07: Contributing to Intersect - Recordings diff --git a/website/docs/working-group/sessions/q1-2026/07-contributing-intersect/session-notes/readme.md b/website/docs/working-group/sessions/q1-2026/07-contributing-intersect/session-notes/readme.md index fc73b760..2b1d886b 100644 --- a/website/docs/working-group/sessions/q1-2026/07-contributing-intersect/session-notes/readme.md +++ b/website/docs/working-group/sessions/q1-2026/07-contributing-intersect/session-notes/readme.md @@ -2,7 +2,7 @@ title: "Session 07: Contributing to Intersect" sidebar_label: Session Notes sidebar_position: 1 -slug: /working-group/q1-2025/sessions/07-contributing-intersect/session-notes +slug: /working-group/q1-2026/sessions/07-contributing-intersect/session-notes --- # Contributing to Intersect: A Call to Action diff --git a/website/docs/working-group/sessions/q1-2026/08-open-clinic-1/session-1/recordings/readme.md b/website/docs/working-group/sessions/q1-2026/08-open-clinic-1/session-1/recordings/readme.md index d0f58387..97d78b6e 100644 --- a/website/docs/working-group/sessions/q1-2026/08-open-clinic-1/session-1/recordings/readme.md +++ b/website/docs/working-group/sessions/q1-2026/08-open-clinic-1/session-1/recordings/readme.md @@ -1,7 +1,7 @@ --- title: "Session 08: Open Clinic #1 - Recordings" sidebar_label: Recordings -slug: /working-group/q1-2025/sessions/08-open-clinic-1/recordings +slug: /working-group/q1-2026/sessions/08-open-clinic-1/recordings --- # Session 08: Open Clinic #1 - Recordings diff --git a/website/docs/working-group/sessions/q1-2026/08-open-clinic-1/session-1/session-notes/readme.md b/website/docs/working-group/sessions/q1-2026/08-open-clinic-1/session-1/session-notes/readme.md index bad2a346..1f3feeb3 100644 --- a/website/docs/working-group/sessions/q1-2026/08-open-clinic-1/session-1/session-notes/readme.md +++ b/website/docs/working-group/sessions/q1-2026/08-open-clinic-1/session-1/session-notes/readme.md @@ -2,7 +2,7 @@ title: "Session 08: Native Tokens Guide" sidebar_label: Session Notes sidebar_position: 1 -slug: /working-group/q1-2025/sessions/08-open-clinic-1/session-notes +slug: /working-group/q1-2026/sessions/08-open-clinic-1/session-notes --- # Cardano Native Tokens diff --git a/website/docs/working-group/sessions/q1-2026/08-open-clinic-1/session-1/session-resources/readme.md b/website/docs/working-group/sessions/q1-2026/08-open-clinic-1/session-1/session-resources/readme.md index 2bc9fbb4..3bc0c12b 100644 --- a/website/docs/working-group/sessions/q1-2026/08-open-clinic-1/session-1/session-resources/readme.md +++ b/website/docs/working-group/sessions/q1-2026/08-open-clinic-1/session-1/session-resources/readme.md @@ -1,7 +1,7 @@ --- title: "Session 08: Native Tokens Resources" sidebar_label: Session Resources -slug: /working-group/q1-2025/sessions/08-open-clinic-1/session-resources +slug: /working-group/q1-2026/sessions/08-open-clinic-1/session-resources --- # Native Tokens Resources diff --git a/website/docs/working-group/sessions/q1-2026/08-open-clinic-1/session-2/recordings/readme.md b/website/docs/working-group/sessions/q1-2026/08-open-clinic-1/session-2/recordings/readme.md index 07fb9619..fa535d81 100644 --- a/website/docs/working-group/sessions/q1-2026/08-open-clinic-1/session-2/recordings/readme.md +++ b/website/docs/working-group/sessions/q1-2026/08-open-clinic-1/session-2/recordings/readme.md @@ -1,7 +1,7 @@ --- title: "Session 08: Open Clinic #1 - Recordings 2" sidebar_label: Recordings -slug: /working-group/q1-2025/sessions/08-open-clinic-1/session-2/recordings +slug: /working-group/q1-2026/sessions/08-open-clinic-1/session-2/recordings --- # Session 08: Open Clinic #1 - Recordings diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index d377cbd9..c7601dec 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -136,6 +136,32 @@ const config: Config = { from: "/docs/working-group/sessions/q4-2025/repo-walkthrough/session-notes/", to: "/docs/working-group/q4-2025/sessions/06-repo-walkthrough/session-notes/", }, + { + // These six pages carried slugs that said q1-2025 while their folders say + // q1-2026. The slugs now match the folder; the old routes stay alive. + from: "/docs/working-group/q1-2025/sessions/07-contributing-intersect/recordings/", + to: "/docs/working-group/q1-2026/sessions/07-contributing-intersect/recordings/", + }, + { + from: "/docs/working-group/q1-2025/sessions/07-contributing-intersect/session-notes/", + to: "/docs/working-group/q1-2026/sessions/07-contributing-intersect/session-notes/", + }, + { + from: "/docs/working-group/q1-2025/sessions/08-open-clinic-1/recordings/", + to: "/docs/working-group/q1-2026/sessions/08-open-clinic-1/recordings/", + }, + { + from: "/docs/working-group/q1-2025/sessions/08-open-clinic-1/session-notes/", + to: "/docs/working-group/q1-2026/sessions/08-open-clinic-1/session-notes/", + }, + { + from: "/docs/working-group/q1-2025/sessions/08-open-clinic-1/session-resources/", + to: "/docs/working-group/q1-2026/sessions/08-open-clinic-1/session-resources/", + }, + { + 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/", + }, { // 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 52393449..53694433 100644 --- a/website/src/data/sessions.json +++ b/website/src/data/sessions.json @@ -96,13 +96,13 @@ "number": "8", "title": "Native Tokens Guide", "quarter": "Q1 2026", - "href": "/docs/working-group/q1-2025/sessions/08-open-clinic-1/session-notes" + "href": "/docs/working-group/q1-2026/sessions/08-open-clinic-1/session-notes" }, { "number": "7", "title": "Contributing to Intersect", "quarter": "Q1 2026", - "href": "/docs/working-group/q1-2025/sessions/07-contributing-intersect/session-notes" + "href": "/docs/working-group/q1-2026/sessions/07-contributing-intersect/session-notes" }, { "number": "6",