Skip to content

docs site: 4 doc pages have zero inbound links from anywhere on the site (sitemap-only orphans) #12353

Description

@os-zhuang

One-liner

Four doc pages are listed in /sitemap.xml and reachable by URL, but no other page on the site links to them — crawlers reach them only via the sitemap, and readers not at all.

The four

/docs/concepts/metadata-driven
/docs/kernel/contracts/auth-service
/docs/kernel/contracts/cache-service
/docs/protocol/backward-compatibility

How it was measured

Local production build (next build && next start) of origin/main. Every URL in the site's own /sitemap.xml was fetched, all internal href="/..." values collected (fragment and query stripped, trailing slash normalised), and each sitemap URL scored by how many other sitemap pages link to it:

sitemap URLs crawled: 408
orphans (zero inbound links from any sitemap page): 4

Positive control: /docs/data-modeling and /docs/ai — which I expected to be orphans and are not — score inbound links from /docs, from sibling pages, and from /docs/capabilities. So a zero here means zero, not a broken query.

Why it matters

An orphan page is discoverable only by the sitemap. It accrues no internal link signal, and a reader following the docs' own navigation can never arrive at it. Whether the answer is a link from the section index, a meta.json entry, or deletion is a per-page call.

Note

/docs/kernel/contracts/auth-service and /docs/kernel/contracts/cache-service are two of a set — the other pages under content/docs/kernel/contracts are linked. Worth checking whether content/docs/kernel/contracts/meta.json is simply missing two entries.

Source

Found while implementing #12240 (JSON-LD), when checking whether a separate breadcrumb hypothesis about orphaned folder indexes held. It did not — but this did.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions