From 2efeb63da3f40a69759bcae0a5a6df8a8fa4ae9e Mon Sep 17 00:00:00 2001 From: IanoNjuguna Date: Sun, 22 Nov 2026 13:01:50 +0300 Subject: [PATCH 1/2] feat(docs): give the last eight session notes pages a slug Nine of the 23 session-notes pages had no frontmatter slug, so Docusaurus derived their route from the folder path, which strips the numeric prefix and keeps the literal "sessions" segment. That meant the archive served two different URL shapes depending on whether a page happened to carry a slug. Adds the slug in the shape every other session already uses, /working-group//sessions//session-notes, to: q1-2026 09-community-builder-story, 11-open-source-docs, 12-cardano-developer-pathway q4-2025 01-kickoff-orientation, 02-dev-opportunities, 03-dev-environment-setup, 04-essential-links, 06-repo-walkthrough Leaves q1-2026/10-wallet-integration/Session-1 alone: its Session-2 sibling already occupies the clean route for that session, so giving Session-1 a slug needs a route decision for both, which belongs with the folder normalisation rather than here. Two consequences handled in the same commit: - website/docs/getting-started.md linked the kickoff notes twice by absolute path; both now point at the slug route. - scripts/generate-sessions.js derives hrefs from the slug when there is one, so the regenerated src/data/sessions.json moves all eight and picks up 06-repo-walkthrough as a 22nd session. The build's onBrokenLinks check is what proves this: it throws on any internal link that no longer resolves, and it passes. Refs #375 --- website/docs/getting-started.md | 4 ++-- .../session-notes/readme.md | 1 + .../session-notes/readme.md | 1 + .../session-notes/readme.mdx | 1 + .../session-notes/readme.md | 1 + .../session-notes/readme.md | 1 + .../session-notes/readme.md | 1 + .../session-notes/readme.md | 4 ++++ .../session-notes/readme.md | 4 ++++ website/src/data/sessions.json | 24 ++++++++++++------- 10 files changed, 31 insertions(+), 11 deletions(-) diff --git a/website/docs/getting-started.md b/website/docs/getting-started.md index da725ebf..13f2e85e 100644 --- a/website/docs/getting-started.md +++ b/website/docs/getting-started.md @@ -16,7 +16,7 @@ This repository serves as the comprehensive guide for developers and contributor **[Complete Intersect Membership Guide →](./intersect-membership-guide.md)** ### 2. **New to Cardano?** -Start with our comprehensive ecosystem overview: [**Directive: Kickoff & Orientation**](/docs/working-group/sessions/q4-2025/01-kickoff-orientation/session-notes/readme.md) +Start with our comprehensive ecosystem overview: [**Directive: Kickoff & Orientation**](/docs/working-group/q4-2025/sessions/01-kickoff-orientation/session-notes/) This guide provides a complete map of the Cardano ecosystem, including core repositories, documentation resources, developer tools, and community support channels. @@ -123,7 +123,7 @@ By the end of Q1 2026, we aim to: **Step 1**: [Join Intersect - Get Your Voice in Cardano](./intersect-membership-guide.md) -**Step 2**: [Directive: Kickoff & Orientation](/docs/working-group/sessions/q4-2025/01-kickoff-orientation/session-notes/readme.md) +**Step 2**: [Directive: Kickoff & Orientation](/docs/working-group/q4-2025/sessions/01-kickoff-orientation/session-notes/) **Step 3**: [Beginner Guides](/docs/how-to-guide/beginner/) diff --git a/website/docs/working-group/sessions/q1-2026/09-community-builder-story/session-notes/readme.md b/website/docs/working-group/sessions/q1-2026/09-community-builder-story/session-notes/readme.md index ffaf18fc..f6598d3f 100644 --- a/website/docs/working-group/sessions/q1-2026/09-community-builder-story/session-notes/readme.md +++ b/website/docs/working-group/sessions/q1-2026/09-community-builder-story/session-notes/readme.md @@ -1,4 +1,5 @@ --- +slug: /working-group/q1-2026/sessions/09-community-builder-story/session-notes title: Session 09 Overview sidebar_label: Session Notes sidebar_position: 1 diff --git a/website/docs/working-group/sessions/q1-2026/11-open-source-docs/session-notes/readme.md b/website/docs/working-group/sessions/q1-2026/11-open-source-docs/session-notes/readme.md index 0788e211..cf6c09f6 100644 --- a/website/docs/working-group/sessions/q1-2026/11-open-source-docs/session-notes/readme.md +++ b/website/docs/working-group/sessions/q1-2026/11-open-source-docs/session-notes/readme.md @@ -1,4 +1,5 @@ --- +slug: /working-group/q1-2026/sessions/11-open-source-docs/session-notes title: "Open Source Documentation" sidebar_label: Session Notes sidebar_position: 1 diff --git a/website/docs/working-group/sessions/q1-2026/12-cardano-developer-pathway/session-notes/readme.mdx b/website/docs/working-group/sessions/q1-2026/12-cardano-developer-pathway/session-notes/readme.mdx index 63260f0b..3251c6f0 100644 --- a/website/docs/working-group/sessions/q1-2026/12-cardano-developer-pathway/session-notes/readme.mdx +++ b/website/docs/working-group/sessions/q1-2026/12-cardano-developer-pathway/session-notes/readme.mdx @@ -1,4 +1,5 @@ --- +slug: /working-group/q1-2026/sessions/12-cardano-developer-pathway/session-notes title: "Cardano Developer Pathway" sidebar_label: Session Notes sidebar_position: 1 diff --git a/website/docs/working-group/sessions/q4-2025/01-kickoff-orientation/session-notes/readme.md b/website/docs/working-group/sessions/q4-2025/01-kickoff-orientation/session-notes/readme.md index 401c9b36..cc09571b 100644 --- a/website/docs/working-group/sessions/q4-2025/01-kickoff-orientation/session-notes/readme.md +++ b/website/docs/working-group/sessions/q4-2025/01-kickoff-orientation/session-notes/readme.md @@ -1,4 +1,5 @@ --- +slug: /working-group/q4-2025/sessions/01-kickoff-orientation/session-notes title: Session 01 Kickoff & Orientation sidebar_label: Session Notes sidebar_position: 1 diff --git a/website/docs/working-group/sessions/q4-2025/02-dev-opportunities/session-notes/readme.md b/website/docs/working-group/sessions/q4-2025/02-dev-opportunities/session-notes/readme.md index e5cca160..ed2f0ac4 100644 --- a/website/docs/working-group/sessions/q4-2025/02-dev-opportunities/session-notes/readme.md +++ b/website/docs/working-group/sessions/q4-2025/02-dev-opportunities/session-notes/readme.md @@ -1,4 +1,5 @@ --- +slug: /working-group/q4-2025/sessions/02-dev-opportunities/session-notes title: Session 02 Overview sidebar_label: Session Notes sidebar_position: 1 diff --git a/website/docs/working-group/sessions/q4-2025/03-dev-environment-setup/session-notes/readme.md b/website/docs/working-group/sessions/q4-2025/03-dev-environment-setup/session-notes/readme.md index f5fb185a..a02f27c0 100644 --- a/website/docs/working-group/sessions/q4-2025/03-dev-environment-setup/session-notes/readme.md +++ b/website/docs/working-group/sessions/q4-2025/03-dev-environment-setup/session-notes/readme.md @@ -1,4 +1,5 @@ --- +slug: /working-group/q4-2025/sessions/03-dev-environment-setup/session-notes title: Session 03 Overview sidebar_label: Session Notes sidebar_position: 1 diff --git a/website/docs/working-group/sessions/q4-2025/04-essential-links/session-notes/readme.md b/website/docs/working-group/sessions/q4-2025/04-essential-links/session-notes/readme.md index 98d4ab87..e2e425a9 100644 --- a/website/docs/working-group/sessions/q4-2025/04-essential-links/session-notes/readme.md +++ b/website/docs/working-group/sessions/q4-2025/04-essential-links/session-notes/readme.md @@ -1,3 +1,7 @@ +--- +slug: /working-group/q4-2025/sessions/04-essential-links/session-notes +--- + # Essential Links in Cardano ## Introduction diff --git a/website/docs/working-group/sessions/q4-2025/06-repo-walkthrough/session-notes/readme.md b/website/docs/working-group/sessions/q4-2025/06-repo-walkthrough/session-notes/readme.md index f6dd61c8..6ff421de 100644 --- a/website/docs/working-group/sessions/q4-2025/06-repo-walkthrough/session-notes/readme.md +++ b/website/docs/working-group/sessions/q4-2025/06-repo-walkthrough/session-notes/readme.md @@ -1,3 +1,7 @@ +--- +slug: /working-group/q4-2025/sessions/06-repo-walkthrough/session-notes +--- + # Repository Walkthrough & Demo ## Introduction diff --git a/website/src/data/sessions.json b/website/src/data/sessions.json index 127cd99a..52393449 100644 --- a/website/src/data/sessions.json +++ b/website/src/data/sessions.json @@ -1,6 +1,6 @@ { - "generatedAt": "2026-11-06", - "total": 21, + "generatedAt": "2026-11-22", + "total": 22, "sessions": [ { "number": "22", @@ -72,13 +72,13 @@ "number": "12", "title": "Cardano Developer Pathway", "quarter": "Q1 2026", - "href": "/docs/working-group/sessions/q1-2026/cardano-developer-pathway/session-notes/" + "href": "/docs/working-group/q1-2026/sessions/12-cardano-developer-pathway/session-notes" }, { "number": "11", "title": "Open Source Documentation", "quarter": "Q1 2026", - "href": "/docs/working-group/sessions/q1-2026/open-source-docs/session-notes/" + "href": "/docs/working-group/q1-2026/sessions/11-open-source-docs/session-notes" }, { "number": "10", @@ -90,7 +90,7 @@ "number": "9", "title": "Community Builder Story - Konma & HaskLedger", "quarter": "Q1 2026", - "href": "/docs/working-group/sessions/q1-2026/community-builder-story/session-notes/" + "href": "/docs/working-group/q1-2026/sessions/09-community-builder-story/session-notes" }, { "number": "8", @@ -104,29 +104,35 @@ "quarter": "Q1 2026", "href": "/docs/working-group/q1-2025/sessions/07-contributing-intersect/session-notes" }, + { + "number": "6", + "title": "Repository Walkthrough & Demo", + "quarter": "Q4 2025", + "href": "/docs/working-group/q4-2025/sessions/06-repo-walkthrough/session-notes" + }, { "number": "4", "title": "Essential Links in Cardano", "quarter": "Q4 2025", - "href": "/docs/working-group/sessions/q4-2025/essential-links/session-notes/" + "href": "/docs/working-group/q4-2025/sessions/04-essential-links/session-notes" }, { "number": "3", "title": "Cardano Dev Environment", "quarter": "Q4 2025", - "href": "/docs/working-group/sessions/q4-2025/dev-environment-setup/session-notes/" + "href": "/docs/working-group/q4-2025/sessions/03-dev-environment-setup/session-notes" }, { "number": "2", "title": "Opportunities in Cardano (2025)", "quarter": "Q4 2025", - "href": "/docs/working-group/sessions/q4-2025/dev-opportunities/session-notes/" + "href": "/docs/working-group/q4-2025/sessions/02-dev-opportunities/session-notes" }, { "number": "1", "title": "Kickoff & Orientation", "quarter": "Q4 2025", - "href": "/docs/working-group/sessions/q4-2025/kickoff-orientation/session-notes/" + "href": "/docs/working-group/q4-2025/sessions/01-kickoff-orientation/session-notes" } ] } From e5e85e790035916effc5aa5944756074b5bcf3d3 Mon Sep 17 00:00:00 2001 From: IanoNjuguna Date: Sun, 22 Nov 2026 13:01:50 +0300 Subject: [PATCH 2/2] fix(website): redirect the eight folder-derived session routes The slugs above change eight public URLs. Each old route keeps working through @docusaurus/plugin-client-redirects, and the misspelled sesion-notes redirect from #410 now points straight at the slug route instead of chaining through the folder route, so every inbound link is one hop. Verified in the generated output: all nine old paths emit a redirect stub with content="0; url=", and all eight slug routes render. Refs #375 --- website/docusaurus.config.ts | 41 ++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index be7fa583..d377cbd9 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -100,11 +100,48 @@ const config: Config = { from: "/docs/tutorials/readme", to: "/docs/tutorials/local-cardano-payment-detector/", }, + { + // These eight pages carried no slug, so their URLs came from the folder + // path (numeric prefixes stripped, the literal "sessions" kept). They now + // carry a slug in the shape every other session uses, and these keep the + // old routes alive. + from: "/docs/working-group/sessions/q1-2026/community-builder-story/session-notes/", + to: "/docs/working-group/q1-2026/sessions/09-community-builder-story/session-notes/", + }, + { + from: "/docs/working-group/sessions/q1-2026/open-source-docs/session-notes/", + to: "/docs/working-group/q1-2026/sessions/11-open-source-docs/session-notes/", + }, + { + from: "/docs/working-group/sessions/q1-2026/cardano-developer-pathway/session-notes/", + to: "/docs/working-group/q1-2026/sessions/12-cardano-developer-pathway/session-notes/", + }, + { + from: "/docs/working-group/sessions/q4-2025/kickoff-orientation/session-notes/", + to: "/docs/working-group/q4-2025/sessions/01-kickoff-orientation/session-notes/", + }, + { + from: "/docs/working-group/sessions/q4-2025/dev-opportunities/session-notes/", + to: "/docs/working-group/q4-2025/sessions/02-dev-opportunities/session-notes/", + }, + { + from: "/docs/working-group/sessions/q4-2025/dev-environment-setup/session-notes/", + to: "/docs/working-group/q4-2025/sessions/03-dev-environment-setup/session-notes/", + }, + { + from: "/docs/working-group/sessions/q4-2025/essential-links/session-notes/", + to: "/docs/working-group/q4-2025/sessions/04-essential-links/session-notes/", + }, + { + from: "/docs/working-group/sessions/q4-2025/repo-walkthrough/session-notes/", + to: "/docs/working-group/q4-2025/sessions/06-repo-walkthrough/session-notes/", + }, { // The folder was misspelled sesion-notes until 2026-11; the route comes - // from the directory name, so the old URL is kept alive here. + // from the directory name, so the old URL is kept alive here. It points + // at the slug route directly, so this stays one hop. from: "/docs/working-group/sessions/q4-2025/repo-walkthrough/sesion-notes/", - to: "/docs/working-group/sessions/q4-2025/repo-walkthrough/session-notes/", + to: "/docs/working-group/q4-2025/sessions/06-repo-walkthrough/session-notes/", }, ], createRedirects(existingPath: string) {