Skip to content

fix: remove duplicate h1 headers from docs index pages#13

Merged
nTEG-dev merged 1 commit intomainfrom
fix/duplicate-h1-headers
Feb 18, 2026
Merged

fix: remove duplicate h1 headers from docs index pages#13
nTEG-dev merged 1 commit intomainfrom
fix/duplicate-h1-headers

Conversation

@nTEG-dev
Copy link
Member

Summary

  • Fumadocs renders the frontmatter title as an <h1>, so having # Title in the MDX content creates duplicate h1 tags on the rendered page
  • Removed the redundant content-level # heading from 4 section index pages:
    • docs/tools/index.mdx — "Tool Reference"
    • docs/concepts/index.mdx — "Core Concepts"
    • docs/contributing/index.mdx — "Contributing"
    • docs/examples/index.mdx — "Examples"
  • Left docs/index.mdx alone — its # GitMem is inside a hero div for styling

Test plan

  • Verify each page renders with a single h1, not two
  • Verify sidebar navigation still works correctly

🤖 Generated with Claude Code

The docs framework (fumadocs) renders the frontmatter `title` as an h1.
Having a matching `# Title` in the content creates duplicate h1 tags on
the page. Removed the content-level h1 from tools, concepts, contributing,
and examples index pages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nTEG-dev nTEG-dev merged commit ff661e0 into main Feb 18, 2026
4 checks passed
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