Background
PR #192 added a seo.organization block to docs/docs.json so docs.decdn.org emits Organization structured data. It sets name / url / logo / sameAs, but not a stable @id.
The main site declares its Organization with a stable @id of https://decdn.org/#organization (ORG_ID in lib/links.ts — export const ORG_ID = \${SITE_URL}#organization`; referenced from every schema's publisher/provider` in app/layout.tsx).
Problem
Because the docs seo.organization omits id, Mintlify emits a separate Organization node scoped to docs.decdn.org. Search engines may treat docs.decdn.org and decdn.org as two different organizations rather than one entity.
Proposal
Mintlify's docs.json schema exposes seo.organization.id (a URI). Setting it to the main site's canonical id consolidates the two into a single entity:
```json
"organization": {
"id": "https://decdn.org/#organization",
"name": "deCDN",
"url": "https://decdn.org",
"logo": "https://docs.decdn.org/logo/logomark-light.png",
"sameAs": ["https://github.com/decdn", "https://x.com/decdn_", "https://www.linkedin.com/company/decdn"]
}
```
Low-risk, one-line change. Deferred from PR #192 for a later look.
Verify after deploy
Run a docs.decdn.org page through Google's Rich Results test and confirm the Organization @id matches the main site's.
Background
PR #192 added a
seo.organizationblock todocs/docs.jsonsodocs.decdn.orgemits Organization structured data. It setsname/url/logo/sameAs, but not a stable@id.The main site declares its Organization with a stable
@idofhttps://decdn.org/#organization(ORG_IDin lib/links.ts —export const ORG_ID = \${SITE_URL}#organization`; referenced from every schema'spublisher/provider` in app/layout.tsx).Problem
Because the docs
seo.organizationomitsid, Mintlify emits a separate Organization node scoped todocs.decdn.org. Search engines may treatdocs.decdn.organddecdn.orgas two different organizations rather than one entity.Proposal
Mintlify's
docs.jsonschema exposesseo.organization.id(a URI). Setting it to the main site's canonical id consolidates the two into a single entity:```json
"organization": {
"id": "https://decdn.org/#organization",
"name": "deCDN",
"url": "https://decdn.org",
"logo": "https://docs.decdn.org/logo/logomark-light.png",
"sameAs": ["https://github.com/decdn", "https://x.com/decdn_", "https://www.linkedin.com/company/decdn"]
}
```
Low-risk, one-line change. Deferred from PR #192 for a later look.
Verify after deploy
Run a
docs.decdn.orgpage through Google's Rich Results test and confirm the Organization@idmatches the main site's.