Skip to content

docs: update curriculum file structure docs for block name and intro.json changes#1258

Merged
ojeytonwilliams merged 1 commit intofreeCodeCamp:mainfrom
majestic-owl448:fix/block-json-name-field
Mar 17, 2026
Merged

docs: update curriculum file structure docs for block name and intro.json changes#1258
ojeytonwilliams merged 1 commit intofreeCodeCamp:mainfrom
majestic-owl448:fix/block-json-name-field

Conversation

@majestic-owl448
Copy link
Contributor

@majestic-owl448 majestic-owl448 commented Mar 17, 2026

Checklist:

Closes #XXXXX

Updates the curriculum file structure docs to reflect changes introduced in freeCodeCamp/freeCodeCamp#66415:

  • Remove name field from the <block>.json example and key fields list; add a note that the block display name comes from intro.json
  • Add a note that the superblock title and intro fields in intro.json are the display name and introductory text shown on the superblock page

There were also some references to index.md remaining, so also:

  • Remove references to index.md files from the "Renaming a Superblock" and "Renaming a Block" steps
  • Remove the "Add the superblock page file" step from how-to-create-catalog-items.mdx and renumber the remaining steps

@majestic-owl448 majestic-owl448 requested a review from a team as a code owner March 17, 2026 16:15
@majestic-owl448 majestic-owl448 force-pushed the fix/block-json-name-field branch from 705a1cc to abfd413 Compare March 17, 2026 16:28
freeCodeCamp/freeCodeCamp#66415 removed the `name` field from all
block JSON files. Block display names now come exclusively from
intro.json.
@majestic-owl448 majestic-owl448 force-pushed the fix/block-json-name-field branch from abfd413 to 4813164 Compare March 17, 2026 16:29
Copy link
Contributor

@ojeytonwilliams ojeytonwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Thanks!

@ojeytonwilliams ojeytonwilliams merged commit 362ac0d into freeCodeCamp:main Mar 17, 2026
4 checks passed
@majestic-owl448 majestic-owl448 deleted the fix/block-json-name-field branch March 17, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants