Skip to content

Fix(docs): guides subheadings - #47765

Merged
fsansalvadore merged 3 commits into
masterfrom
fix/docs-subheadings
Jul 9, 2026
Merged

fsansalvadore merged 3 commits into
masterfrom
fix/docs-subheadings

Conversation

@fsansalvadore

@fsansalvadore fsansalvadore commented Jul 9, 2026 •

Copy link
Copy Markdown
Contributor

Fix docs subheading by removing the h2 html tag and adjusting styling.
Likely a result of a merge conflict resolution between #47441 and #47288

What is the current behavior?

Screenshot 2026-07-09 at 10 19 00

What is the new behavior?

Screenshot 2026-07-09 at 10 32 56

Summary by CodeRabbit

  • Style
    • Refined how guide subtitles are displayed for a cleaner, more consistent layout.
    • Adjusted subtitle spacing and presentation while keeping subtitle content rendering with formatted text support intact.

@fsansalvadore
fsansalvadore requested a review from a team as a code owner July 9, 2026 08:19
@vercel

vercel Bot commented Jul 9, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment, Open in v0 Jul 9, 2026 8:36am
6 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Jul 9, 2026 8:36am
design-system Skipped Skipped Jul 9, 2026 8:36am
studio-self-hosted Skipped Skipped Jul 9, 2026 8:36am
studio-staging Skipped Skipped Jul 9, 2026 8:36am
ui-library Skipped Skipped Jul 9, 2026 8:36am
zone-www-dot-com Skipped Skipped Jul 9, 2026 8:36am

Request Review

@supabase

supabase Bot commented Jul 9, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jul 9, 2026
@coderabbitai

coderabbitai Bot commented Jul 9, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The guide subtitle rendering was updated in two guide components: one now uses a div wrapper instead of an h2, and the other adjusts the subtitle spacing from mt-6 to mt-3. The subtitle content still comes from ReactMarkdown.

Changes

Subtitle rendering

Layer / File(s) Summary
Subtitle element and spacing change
apps/docs/features/docs/GuidesMdx.template.tsx, apps/docs/features/ui/guide/GuideHeader.tsx
Replaced the subtitle h2 wrapper with a div in the guide template and reduced the subtitle top margin in the guide header, with meta.subtitle still rendered via ReactMarkdown.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

  • supabase/supabase#47227: Also changes guide subtitle rendering in GuidesMdx.template.tsx and GuideHeader.tsx, including wrapper and spacing adjustments.

Suggested reviewers: ChrisChinchilla, nrichers

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly describes the docs guide subheading styling fix and matches the changeset.
Description check ✅ Passed The description covers the change, current behavior, new behavior, and screenshots, though it omits some template sections.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/docs-subheadings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ChrisChinchilla ChrisChinchilla 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.

Much nicer, thanks!

@fsansalvadore
fsansalvadore merged commit 9b05afa into master Jul 9, 2026
35 checks passed
@fsansalvadore
fsansalvadore deleted the fix/docs-subheadings branch July 9, 2026 08:54
@github-actions

github-actions Bot commented Jul 9, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1783587556)

Score Average Improvements Regressions
Knowledge Usage 92.3% (+0pp) 1 🟢 1 🔴
Tool Usage 73.9% (-1pp) 1 🟢 2 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Time_to_first_token 3.58tok (+1.08tok) 6 🟢 23 🔴
Llm_calls 2.66 (-0.41) 6 🟢 17 🔴
Tool_calls 3.09 (-0.02) 11 🟢 10 🔴
Errors 5.26 (+0.01) 3 🟢 4 🔴
Llm_errors 0 (+0) - -
Tool_errors 0 (+0) - -
Prompt_tokens 26702.94tok (+1485.26tok) 11 🟢 14 🔴
Prompt_cached_tokens 8857.01tok (-776.83tok) 12 🟢 13 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 598.52tok (-33.07tok) 17 🟢 12 🔴
Completion_reasoning_tokens 96.15tok (-0.02tok) 14 🟢 12 🔴
Total_tokens 27301.46tok (+1452.2tok) 13 🟢 16 🔴
Estimated_cost 0$ (+0$) 11 🟢 15 🔴
Duration 18.52s (+1.09s) 12 🟢 17 🔴
Llm_duration 11.62s (-0.43s) 15 🟢 14 🔴

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants