Repository navigation
fix(docs): make the q1-2026 session slugs say q1-2026 - #412
Closed
IanoNjuguna wants to merge 1 commit into
Closed
IanoNjuguna wants to merge 1 commit into
IanoNjuguna wants to merge 1 commit into
Conversation
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
This was referenced Nov 22, 2026
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Six pages under
q1-2026/07-contributing-intersectandq1-2026/08-open-clinic-1carried 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 insideq1-2026, and every neighbouring session's slug says so.07-contributing-intersect/session-notes/docs/working-group/q1-2025/sessions/07-contributing-intersect/session-notes/q1-202607-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.jsonis regenerated, and the generator moves two carousel hrefs offq1-2025with 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
Testing
Checklist
Verification
From the build output:
q1-2025paths emit a redirect stub whose target is theq1-2026route07-.../session-notes,08-.../session-notes,08-.../session-2/recordings)grep -c q1-2025 src/data/sessions.jsonreturns 0Notes
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.