Skip to content

feat: add standard Faq component and convert docs to use it - #5641

Merged
philip merged 3 commits into
neondatabase:mainfrom
rishi-raj-jain:faq-consistency
Aug 27, 2026
Merged

feat: add standard Faq component and convert docs to use it#5641
philip merged 3 commits into
neondatabase:mainfrom
rishi-raj-jain:faq-consistency

Conversation

@rishi-raj-jain

Copy link
Copy Markdown
Contributor

Why

FAQ sections across the docs were built ad-hoc with DefinitionList, bare ### question headings, and **Q:/A:** text which had inconsistent casing and no structured markup. None of them emitted schema.org data, so they weren't eligible for Google FAQ rich results, and collapsed answers weren't reliably crawlable.

What

  • New Faq / FaqItem component (src/components/pages/doc/faq/) that renders each answer with native <details>/<summary> and emits FAQPage schema.org JSON-LD. Answers stay crawlable when collapsed and accept full markdown.
  • Wired the component into MDX rendering (content.jsx) and added its styles (doc-content.css).
  • Converted existing FAQ sections to the new component and normalized headings to sentence case (## Frequently asked questions): plans, HIPAA, Azure regions deprecation, AI database versioning, Vercel branch cleanup, and Vercel managed integration.
  • Documented the component as the standard for FAQs in README.md, the component guide, and CLAUDE.md

@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown

@rishi-raj-jain is attempting to deploy a commit to the neondatabase Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
neon-next Ready Ready Preview Aug 27, 2026 12:29am

Request Review

@philip philip left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nice! I left a comment, and also process-md-for-llms.js needs a new componentHandlers entry for Faq and FaqItem, for the generated LLM friendly Markdown.

Example preview here and this from the build logs [LLM Processor] Unknown component: <Faq>

Comment thread content/docs/community/component-guide.md Outdated
@rishi-raj-jain

Copy link
Copy Markdown
Contributor Author

Philip, thank you for the suggestion and I appreciate you teaching me that. I have made the required changes. May you take a look?

@rishi-raj-jain
rishi-raj-jain requested a review from philip August 26, 2026 16:58
@philip
philip merged commit d37cb8d into neondatabase:main Aug 27, 2026
2 of 3 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.

2 participants