Skip to content

feat: add homepage JSON-LD structured data#521

Merged
Ehesp merged 1 commit into
mainfrom
feat/homepage-json-ld
Jul 7, 2026
Merged

feat: add homepage JSON-LD structured data#521
Ehesp merged 1 commit into
mainfrom
feat/homepage-json-ld

Conversation

@claude

@claude claude Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Requested by Elliot Hesp · Slack thread

Fixes #519

Summary

Before: the marketing homepage only exposed a <title> plus Open Graph / Twitter meta tags. There was no machine-readable entity on the page, so search engines and LLMs had no structured entity to identify or cite docs.page.

After: the homepage head now emits a schema.org JSON-LD block describing docs.page as a SoftwareApplication published by Invertase, alongside WebSite and Organization nodes.

How: the JSON-LD lives in app/src/components/homepage/index.tsx, injected as a <script type="application/ld+json"> inside the existing next/head <Head> block (matching the file's current head-injection style). It is a single @graph with three linked nodes:

  • Organization — Invertase (url, logo, sameAs → GitHub org + X handle).
  • WebSite — docs.page, publisher → Organization.
  • SoftwareApplication — docs.page, reusing the page's existing description, with applicationCategory: DeveloperApplication, operatingSystem: Any, isAccessibleForFree: true, Apache-2.0 license, codeRepository → the GitHub repo, author/publisher → Organization, and a free (price: "0") offer.

All values are pulled from the repo (existing meta description, social image, @invertaseio handle, LICENSE, README asset URLs) — no fabricated ratings, review counts, or invented URLs.

Scope

  • app/ (hosted site, MCP, Ask AI)
  • packages/cli/
  • packages/mdx-bundler/
  • docs/ (product documentation)
  • Repo / CI / other

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Refactor / chore

Test plan

  • Biome clean and tsc --noEmit passes on the changed file
  • Tested locally (next dev): fetched /, confirmed the application/ld+json script renders and JSON.parse succeeds with @graph = Organization, WebSite, SoftwareApplication
  • Updated docs/ (if user-facing) — n/a
  • Verified on a local preview (rendering change)

Notes for reviewers

The Invertase logo URL (static.invertase.io/.../invertase-rounded-avatar.png) is the same asset referenced in the repo README. No breaking changes.

Closes #519.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DHjPAWXa8wkqtsVzJVyBne


Generated by Claude Code

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@railway-app railway-app Bot temporarily deployed to docs.page / docs.page-pr-521 July 7, 2026 10:57 Destroyed
@Ehesp Ehesp marked this pull request as ready for review July 7, 2026 11:04
@cursor

cursor Bot commented Jul 7, 2026

Copy link
Copy Markdown

Bugbot is not enabled for this team, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@Ehesp Ehesp merged commit bcd4347 into main Jul 7, 2026
3 checks passed
@Ehesp Ehesp deleted the feat/homepage-json-ld branch July 7, 2026 11:05
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.

Improve agent-readiness: root llms.txt + homepage JSON-LD

3 participants