From 4fc4d7595be56c9141240ce3f1137c1a2a2c7f55 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 7 Jul 2026 10:57:05 +0000 Subject: [PATCH] feat: add homepage JSON-LD structured data --- app/src/components/homepage/index.tsx | 46 +++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/app/src/components/homepage/index.tsx b/app/src/components/homepage/index.tsx index 18ea2fda..7de2ca30 100644 --- a/app/src/components/homepage/index.tsx +++ b/app/src/components/homepage/index.tsx @@ -15,6 +15,47 @@ const description = "Instantly serve markdown from any GitHub branch as modern, agent-ready docs, with AI chat, MCP, and llms.txt."; const image = "https://docs.page/_docs.page/social-image.png"; +// schema.org structured data describing docs.page as a SoftwareApplication +// published by Invertase, alongside WebSite and Organization entities. This +// gives search engines and LLMs a machine-readable entity to cite. +const jsonLd = { + "@context": "https://schema.org", + "@graph": [ + { + "@type": "Organization", + "@id": "https://invertase.io/#organization", + name: "Invertase", + url: "https://invertase.io", + logo: "https://static.invertase.io/assets/invertase/invertase-rounded-avatar.png", + sameAs: ["https://github.com/invertase", "https://x.com/invertaseio"], + }, + { + "@type": "WebSite", + "@id": "https://docs.page/#website", + name: "docs.page", + url: "https://docs.page", + description, + publisher: { "@id": "https://invertase.io/#organization" }, + }, + { + "@type": "SoftwareApplication", + "@id": "https://docs.page/#software", + name: "docs.page", + url: "https://docs.page", + image, + description, + applicationCategory: "DeveloperApplication", + operatingSystem: "Any", + isAccessibleForFree: true, + license: "https://www.apache.org/licenses/LICENSE-2.0", + codeRepository: "https://github.com/invertase/docs.page", + author: { "@id": "https://invertase.io/#organization" }, + publisher: { "@id": "https://invertase.io/#organization" }, + offers: { "@type": "Offer", price: "0", priceCurrency: "USD" }, + }, + ], +}; + export function Homepage() { return ( <> @@ -31,6 +72,11 @@ export function Homepage() { + +