Skip to content

feat(sessions): renumber from q2-2026 so session 14 is used once - #417

Open
IanoNjuguna wants to merge 1 commit into
IntersectMBO:fix/session-generator-slugfrom
IanoNjuguna:feat/session-renumber
Open

IanoNjuguna wants to merge 1 commit into
IntersectMBO:fix/session-generator-slugfrom
IanoNjuguna:feat/session-renumber

Conversation

@IanoNjuguna

@IanoNjuguna IanoNjuguna commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Description

Option A from #416: session 14 is used once, and everything from q2-2026 onward moves up by one.

q1-2026 ends at 14 (14-cip-68-nft-standard) and q2-2026 started at 14 again (14-sdk-repo-walkthrough), after which the sequence ran 15-21 and then q4-2026 at 22. The numbering is otherwise one continuous run across quarters, so the defect is that the q2 block started one number too early.

Was Now Quarter
14-sdk-repo-walkthrough 15-sdk-repo-walkthrough q2-2026
15-dapp-architecture-demo 16-dapp-architecture-demo q2-2026
16-ui-smart-contract-interaction 17-ui-smart-contract-interaction q2-2026
17-default-developer-environment 18-default-developer-environment q2-2026
18-cardano-ai-dev-workflow 19-cardano-ai-dev-workflow q2-2026
19-cardano-mcp-server 20-cardano-mcp-server q2-2026
20-one-api-call-blockfrost 21-one-api-call-blockfrost q2-2026
21-cardano-production-sdk 22-cardano-production-sdk q2-2026
22-ai-ready-cardano-repos 23-ai-ready-cardano-repos q4-2026

Renames ran descending, so no new name ever collided with a folder still waiting to move.

The 27 pages inside carry slugs that embed the folder name, so every slug moved with its folder. The session number is also spelled out in prose in places, so title:, the H1 and the _category_.json labels are renumbered too: 57 in the pages, 9 in the category files, plus 2 self-references in the 23-ai-ready-cardano-repos notes body.

Links updated in the same change: q2-2026/index.md and q4-2026/index.md point at these sessions by absolute and relative path, the landing page's curated href list names 14-sdk-repo-walkthrough, src/data/sessions.json is regenerated, and the pre-existing createRedirects map for q2 now resolves to the new numbers.

Redirects: 24 of the 27 routes keep their old URL. The three recordings pages under 17, 18 and 21 are draft: true, so they have no route at all, and a redirect pointing at one fails the build with "trying to create client-side redirections to invalid paths". That is how I found them; they get no redirect because the old URL never existed either.

Fixes #416. Closes #375. Stacked on #414.

#375 keeps the bullet list for this whole exercise and the duplicate 14 was its last one, so this PR is where that issue finishes as well as #416.

Merge order for the chain: #410, then #414 (which now carries the four middle layers), then this one. Each retargets to the next base as its parent merges.

One caution about the closing keyword: GitHub only registers Fixes when a PR targets the default branch, so on a PR whose base is a feature branch it resolves to nothing visible. That is why #416 does not show this PR as its closer yet. It should link when this retargets to main; if the merge lands and #416 is still open, close it by hand. The measurable state to check is src/data/sessions.json: 22 sessions, numbers 1-23, no duplicate.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Testing

  • I have tested these changes locally
  • I have checked for broken links
  • Code examples have been tested

Checklist

  • My code follows the style guidelines
  • I have performed a self-review
  • I have made corresponding changes to documentation
  • My changes generate no new warnings

Verification

node scripts/generate-sessions.js   22 sessions
tsc --noEmit -p tsconfig.json       clean
docusaurus build                    SUCCESS with onBrokenLinks: throw

The numbers are now unique, which is the point of the change:

sessions.json numbers: 1 2 3 4 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
duplicates: none

Session 5 is absent from that list because it is a bare readme.md at the session root with no session-notes folder, so the carousel generator has never included it. That is a separate folder-shape question, not a numbering one.

Routes:

  • new: 15-sdk-repo-walkthrough, 22-cardano-production-sdk, 23-ai-ready-cardano-repos all render
  • old: 14-sdk-repo-walkthrough, 21-cardano-production-sdk, 22-ai-ready-cardano-repos emit a redirect stub whose target is the new route

Notes

q1-2026 ends at 14 (CIP-68) and q2-2026 started at 14 again (sdk-repo
walkthrough), after which the sequence continued 15-21. The numbering is
otherwise one continuous run across quarters, so the duplicate is the q2
block starting one too early.

Option A from IntersectMBO#416: CIP-68 keeps 14, and everything from q2-2026 onward moves
up by one.

  14-sdk-repo-walkthrough        -> 15   (q2-2026)
  15-dapp-architecture-demo      -> 16
  16-ui-smart-contract-interaction -> 17
  17-default-developer-environment -> 18
  18-cardano-ai-dev-workflow     -> 19
  19-cardano-mcp-server          -> 20
  20-one-api-call-blockfrost     -> 21
  21-cardano-production-sdk      -> 22
  22-ai-ready-cardano-repos      -> 23   (q4-2026)

Renaming ran descending so no new name collided with a folder still waiting to
move. The 27 pages inside carry slugs that embed the folder name, so each slug
moves with its folder; titles, H1s and the _category_ labels that spell out the
session number are renumbered too, which the label files needed in nine places
and the pages in 57.

Links handled: q2-2026/index.md and q4-2026/index.md point at these sessions by
absolute and relative path, the landing page's curated href list names
14-sdk-repo-walkthrough, and src/data/sessions.json is regenerated. The
pre-existing createRedirects map for q2 also resolves to the new numbers.

Redirects: 24 of the 27 routes keep their old URL. The three recordings pages
for 17, 18 and 21 are `draft: true`, so they have no route and no redirect
target, and an entry pointing at one fails the build. That is how I found them.

Verified:
  sessions.json         22 sessions, numbers 1-23 with no duplicate
  new routes            render (15-sdk-repo, 22-cardano-production-sdk, 23-ai-ready)
  old routes            redirect stub to the new route, spot-checked at 14, 21, 22
  docusaurus build      SUCCESS with onBrokenLinks: throw

Fixes IntersectMBO#416

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant