Skip to content

fix(docs): lowercase the four session folders that broke the convention - #413

Closed
IanoNjuguna wants to merge 1 commit into
IntersectMBO:fix/session-slug-quarterfrom
IanoNjuguna:fix/session-folder-case
Closed

IanoNjuguna wants to merge 1 commit into
IntersectMBO:fix/session-slug-quarterfrom
IanoNjuguna:fix/session-folder-case

Conversation

@IanoNjuguna

@IanoNjuguna IanoNjuguna commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Description

Four folders under q1-2026 were the only ones in the archive with capitals, and one of them also carried a space:

q1-2026/14-CIP-68 NFT-Standard        (plus its Recording/ subfolder)
q1-2026/13-smart-contracts-languages/Recording
q1-2026/10-wallet-integration/Session-1
q1-2026/10-wallet-integration/Session-2

Every other session uses lowercase-hyphenated names. This renames all four (Recording becomes recordings, matching the other sessions; Session-N becomes session-N; 14-CIP-68 NFT-Standard becomes 14-cip-68-nft-standard).

Two of the renames change no URL. 14-cip-68-nft-standard's pages and both Recording pages carry slugs that already spell them lowercase, so only the filesystem moves.

The wallet integration pair does change URLs, because Session-1's pages had no slug and were served from the folder path, and Session-2's recordings slug carried a capital S:

Page Was Now
session-1/session-notes /docs/working-group/sessions/q1-2026/wallet-integration/Session-1/session-notes/ (folder-derived) /docs/working-group/q1-2026/sessions/10-wallet-integration/session-1/session-notes/
session-1/recordings …/wallet-integration/Session-1/recordings/ (folder-derived) …/10-wallet-integration/session-1/recordings/
session-2/recordings …/10-wallet-integration/Session-2/recordings/ …/10-wallet-integration/session-2/recordings/

Three redirects keep those alive.

Session-2 keeps the clean route for that session (…/10-wallet-integration/session-notes) rather than handing it to Session-1 for symmetry with 08-open-clinic-1. Moving it would break a live URL to fix an inconsistency nobody sees, and giving Session-1 the clean route instead would put a redirect at a path a real page then occupies.

After this, no session-notes page in the archive is slug-less. That is what the generator change in the next layer depends on.

Refs #375. Stacked on #412.

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   wrote 22 sessions
tsc --noEmit -p tsconfig.json       clean
docusaurus build                    SUCCESS with onBrokenLinks: throw

From the build output:

  • six routes render: both session-1 pages, session-2/recordings, the unchanged 10-wallet-integration/session-notes, 14-cip-68-nft-standard/session-notes and 13-.../session
  • three old routes emit a redirect stub with the right target
  • grep -rL '^slug:' over every session-notes page returns nothing

Git records the moves as renames, so git log --follow still traces each file.

Notes

Still open on #375, and not in this layer: the duplicate session 14. The numbering runs continuously across quarters (q4-2025 01-06, q1-2026 07-14, q2-2026 14-21, q4-2026 22), so renumbering either 14 shifts everything after it. That needs your call, not a mechanical edit. It is tracked as #416.

Four folders under q1-2026 were the only ones in the archive with capitals:
"14-CIP-68 NFT-Standard" (also the only one with a space), its sibling
"Recording", "13-smart-contracts-languages/Recording", and the two wallet
integration parts, "Session-1" and "Session-2". Every other session uses
lowercase-hyphenated names.

Two of the renames change no URL: 14-cip-68-nft-standard's pages and the two
Recording pages all carry slugs that already spell them lowercase.

The wallet integration pair does change URLs, because Session-1's pages had
no slug and were served from the folder path, and Session-2's recordings slug
carried a capital S. Fixes:

- session-1/session-notes and session-1/recordings gain slugs under
  /working-group/q1-2026/sessions/10-wallet-integration/session-1/...
- session-2/recordings loses the capital in its slug
- three redirects keep the old routes alive

Session-2 keeps the clean route for that session rather than handing it to
Session-1 for symmetry with 08-open-clinic-1. Moving it would break a live
URL to fix an inconsistency nobody sees, and the obvious alternative, giving
Session-1 the clean route, would need a redirect at a path a real page then
occupies.

After this, no session-notes page in the archive is slug-less, which is what
the generator change in the next layer depends on.

Verified in the build output: six routes render, three old routes emit
redirect stubs with the right targets, and grep -L '^slug:' over every
session-notes page returns nothing.

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