Skip to content

chore: revert require title frontmatter#2439

Merged
frankensteinke merged 1 commit into
developfrom
revert-require-title-frontmatter
Jun 16, 2026
Merged

chore: revert require title frontmatter#2439
frankensteinke merged 1 commit into
developfrom
revert-require-title-frontmatter

Conversation

@frankensteinke

Copy link
Copy Markdown
Contributor

Reverts #2395

@frankensteinke
frankensteinke requested a review from a team as a code owner June 16, 2026 17:43
Copilot AI review requested due to automatic review settings June 16, 2026 17:43
@frankensteinke
frankensteinke enabled auto-merge (squash) June 16, 2026 17:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR reverts the docs build-time enforcement (introduced in #2395) that required every MDX page in the docs collections to define a title in frontmatter.

Changes:

  • Removed the assertTitle helper that threw an error when title frontmatter was missing.
  • Removed assertTitle(title) calls for pages, components, and foundations MDX collections.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@aws-amplify-us-east-1

Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-2439.d15792l1n26ww3.amplifyapp.com

@frankensteinke
frankensteinke merged commit 986dc0b into develop Jun 16, 2026
9 checks passed
@frankensteinke
frankensteinke deleted the revert-require-title-frontmatter branch June 16, 2026 18:02
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.

3 participants