Skip to content

fix(docs): remove duplicate body H1 from refactored pages#372

Open
moss-bryophyta wants to merge 1 commit into
mainfrom
docs/dedupe-body-h1-2026-07-17
Open

fix(docs): remove duplicate body H1 from refactored pages#372
moss-bryophyta wants to merge 1 commit into
mainfrom
docs/dedupe-body-h1-2026-07-17

Conversation

@moss-bryophyta

Copy link
Copy Markdown
Contributor

Summary

The docs renderer (apps/content/app/docs/[[...slug]]/page.tsx) already renders the frontmatter title as the page H1 through Fumadocs' <DocsTitle>. Thirteen pages carried over from the #354 refactor also keep a body # Title heading, so those pages render their title twice.

The overwhelming majority of refactored pages correctly omit the body H1 (the intro paragraph follows the frontmatter directly). This aligns the 13 stragglers with that convention.

Pages fixed

  • integrations/mintlify/ — quickstart, 4 guides, 3 reference pages (8)
  • react/ — react-quickstart, react-spa-quickstart, nextjs-quickstart, nextjs-pages-router-quickstart, guides/developing-spa-translations (5)

Each change removes only the duplicate # Heading line (and its trailing blank). No prose changes.

🌿 Automated daily docs review.

The docs renderer emits the frontmatter title as the page H1 via
<DocsTitle>. Thirteen pages from the #354 refactor also kept a body
'# Title' heading, so the title rendered twice. Remove the redundant
body H1 to match the rest of the docs (which correctly omit it).
@moss-bryophyta
moss-bryophyta enabled auto-merge (squash) July 17, 2026 15:06
This was referenced Jul 17, 2026
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.

1 participant