Skip to content

seo: unify docs.decdn.org Organization with the main site's @id #193

Description

@yigitdot

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions