Skip to content

fix(seo): add WebSite JSON-LD schema#7891

Open
aidankmcalister wants to merge 1 commit intomainfrom
fix/seo-add-website-schema-json-ld
Open

fix(seo): add WebSite JSON-LD schema#7891
aidankmcalister wants to merge 1 commit intomainfrom
fix/seo-add-website-schema-json-ld

Conversation

@aidankmcalister
Copy link
Copy Markdown
Member

@aidankmcalister aidankmcalister commented May 11, 2026

Linear: DR-8012

Summary by CodeRabbit

  • Chores
    • Enhanced search engine integration for Prisma Documentation through structured data, improving visibility and discoverability in search results.

Review Change Stack

@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 2026

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

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment May 11, 2026 1:03am
docs Ready Ready Preview, Comment May 11, 2026 1:03am
eclipse Ready Ready Preview, Comment May 11, 2026 1:03am
site Ready Ready Preview, Comment May 11, 2026 1:03am

Request Review

@aidankmcalister aidankmcalister changed the title fix(seo): add JSON-LD schema fix(seo): add WebSite JSON-LD schema May 11, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 11, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 6d18db27-bcfd-42fe-a970-33e4fc455271

📥 Commits

Reviewing files that changed from the base of the PR and between d0a17f2 and 8a3e2aa.

📒 Files selected for processing (1)
  • apps/docs/src/app/layout.tsx

Walkthrough

This PR adds structured metadata to the Prisma Documentation site by inserting a JSON-LD schema declaration into the document head. The WebSite schema includes a SearchAction pointing to the documentation search endpoint, enabling search engines to understand and surface the site's native search capability.

Changes

SEO Schema Metadata

Layer / File(s) Summary
JSON-LD WebSite Schema
apps/docs/src/app/layout.tsx
Added a <script type="application/ld+json"> block in the layout head defining a schema.org WebSite entity for "Prisma Documentation" with a SearchAction target that uses search_term_string as the dynamic query parameter placeholder.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: adding a WebSite JSON-LD schema for SEO purposes.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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

@argos-ci
Copy link
Copy Markdown

argos-ci Bot commented May 11, 2026

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - May 11, 2026, 1:10 AM

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