Skip to content

fix(docs): make the q1-2026 session slugs say q1-2026 - #412

Closed
IanoNjuguna wants to merge 1 commit into
IntersectMBO:feat/session-slugsfrom
IanoNjuguna:fix/session-slug-quarter
Closed

IanoNjuguna wants to merge 1 commit into
IntersectMBO:feat/session-slugsfrom
IanoNjuguna:fix/session-slug-quarter

Conversation

@IanoNjuguna

@IanoNjuguna IanoNjuguna commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Description

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 their folders never lived in. Nothing was broken for a reader, but it makes the route map lie: 07 and 08 sit inside q1-2026, and every neighbouring session's slug says so.

Page Old route New route
07-contributing-intersect/session-notes /docs/working-group/q1-2025/sessions/07-contributing-intersect/session-notes/ same with q1-2026
07-contributing-intersect/recordings …/q1-2025/…/recordings/ …/q1-2026/…/recordings/
08-open-clinic-1/session-1/session-notes …/q1-2025/…/08-open-clinic-1/session-notes/ …/q1-2026/…
08-open-clinic-1/session-1/recordings …/q1-2025/…/recordings/ …/q1-2026/…
08-open-clinic-1/session-1/session-resources …/q1-2025/…/session-resources/ …/q1-2026/…
08-open-clinic-1/session-2/recordings …/q1-2025/…/session-2/recordings/ …/q1-2026/…

Six redirects keep the old routes alive. src/data/sessions.json is regenerated, and the generator moves two carousel hrefs off q1-2025 with no edit to the script, because it reads the slug.

Refs #375. Stacked on #411, which slugged the pages that had none; this fixes the six that pointed at the wrong quarter.

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

tsc --noEmit -p tsconfig.json     clean
docusaurus build                  SUCCESS with onBrokenLinks: throw

From the build output:

  • all six q1-2025 paths emit a redirect stub whose target is the q1-2026 route
  • three spot-checked new routes render (07-.../session-notes, 08-.../session-notes, 08-.../session-2/recordings)
  • grep -c q1-2025 src/data/sessions.json returns 0

Notes

Not in this layer: the duplicate session 14 (CIP-68 in q1-2026 and sdk-repo-walkthrough in q2-2026 both claim 14), the case-only folder renames, and the generator's fallback. The duplicate needs an editorial call, because the numbering is continuous across quarters (q4-2025 01-06, q1-2026 07-14, q2-2026 14-21, q4-2026 22), so renumbering either 14 cascades. It is tracked as #416.

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 IntersectMBO#375
@IanoNjuguna

Copy link
Copy Markdown
Contributor Author

Collapsed into #414.

This layer and the three around it (#411 slugs, #412 quarter fix, #413 folder case) are one mechanical unit: the folder lowercasing is unreadable without the slugs that go with it, and the generator change is only safe once every page carries a slug. Reviewing them apart cost four approvals for one change.

Nothing is lost: #414 carries every commit from this branch, its diff is the union of the four, and its body states the scope of each.

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