Skip to content

docs(ENG-58472): retire superseded orphan pages, put the Unreal SDK pages in nav - #642

Open
raj-dubey1 wants to merge 1 commit into
mainfrom
docs/ENG-58472-orphan-pages
Open

raj-dubey1 wants to merge 1 commit into
mainfrom
docs/ENG-58472-orphan-pages

Conversation

@raj-dubey1

Copy link
Copy Markdown
Contributor

Why

main has 251 pages that appear in no navigation entry (measured over docs.json →
navigation.products → tabs → dropdowns → groups → pages). They are published and indexed, so
readers and agents land on them from Google and from llms.txt, but nothing links to them and
nobody maintains them. Some of them contradict the pages we do maintain.

This PR takes the unambiguous ones: a page that duplicates a live page, a page whose own URL
already had a redirect, a legacy UI Kit that no longer ships, and a few written-but-unreachable
pages that simply needed a nav entry. Everything that needs a product or API decision is listed
at the bottom instead of being guessed at.

Orphan count: 251 → 219.

1. Deleted and redirected (27 files)

6 AI Agents API stubs that duplicate the current reference

Each one documents the same endpoint as a page under /rest-api/ai-agents-apis/, matched by
OpenAPI operation (method + path), not by title.

Deleted Redirects to
/ai-agents/apis/get-frontend-action /rest-api/ai-agents-apis/frontend-actions/get-frontend-action
/ai-agents/apis/list-text-details /rest-api/ai-agents-apis/knowledge-base/list-text-entries
/ai-agents/apis/get-text-detail /rest-api/ai-agents-apis/knowledge-base/get-text-entry
/ai-agents/apis/get-api-tool /rest-api/ai-agents-apis/custom-api-tools/get-api-tool
/ai-agents/apis/get-mcp-server /rest-api/ai-agents-apis/mcp-servers/get-mcp-server
/ai-agents/apis/get-available-models /rest-api/ai-agents-apis/agents/list-available-models

4 files that shadowed an existing redirect

docs.json already had a redirect from each of these paths, but a file at the same path wins over
a redirect in Mintlify, so the redirect never fired and readers stayed on the stale copy.

Deleted Redirect that now works
/ai-agents/actions → /ai-agents/mastra-actions
/ai-agents/tools → /ai-agents/mastra-tools
/articles/docker → /on-premise-deployment/docker/overview
/fundamentals/webhooks-overview → /fundamentals/webhooks

No new redirect entries were needed for these four.

9 legacy Kotlin UI Kit pages → Android UI Kit

/ui-kit/kotlin/{overview,key-concepts,ui-components,customize-ui-kit} and
/ui-kit/kotlin/2.0/{overview,key-concepts,ui-components,customize-ui-kit,message-structure-and-hierarchy}
all redirect to /ui-kit/android/overview. The Kotlin UI Kit is not a shipping product; the
Android UI Kit (v6, Jetpack Compose and Kotlin Views) is.

8 individual pages

Deleted Redirects to Why
/sdk/unreal/SAMPLE_APP /sdk/unreal/overview a repo README that shipped as a docs URL
/ui-kit/angular/2.0/javascript-2-0-overview /ui-kit/angular/overview v2 Angular kit, superseded
/calls/ionic/overview /calls/javascript/ionic-integration a "coming soon" stub; the real page exists
/articles/calendar-scheduling /fundamentals/extensions-overview extension article, no longer in the extension list
/articles/rate-limits /sdk/javascript/rate-limits duplicate of the SDK page
/campaigns/webhooks /rest-api/management-apis/webhooks/overview duplicate of the management API page
/ai-chatbots/custom-agents /ai-chatbots/custom-bots renamed product concept
/sdk/flutter/v5/v5-docs-changelog /sdk/flutter/changelog superseded by the maintained changelog

2. Added to navigation (5 pages)

Written, complete, and unreachable until now — all under the Unreal Engine SDK dropdown:

  • sdk/unreal/conversations → Build with Chat group, after Receive messages
  • sdk/unreal/transient-messages → Build with Chat, after Real-time events
  • sdk/unreal/moderation → new Moderation group
  • sdk/unreal/ui-components → new UI group
  • sdk/unreal/advanced-configuration → Reference, first entry

3. Six in-content links repointed

Links that pointed at a page this PR deletes now point at the live page directly instead of
travelling through a redirect:

  • calls/webhooks.mdx, ui-kit/android/llms-android-v6.mdx, sdk/android/v5/llms-android-v5.mdx
    → /fundamentals/webhooks
  • ui-kit/android/v3/overview.mdx, sdk/android/2.0/overview.mdx, sdk/android/3.0/overview.mdx
    → /ui-kit/android/overview

Verification

Check Result
Deleted URLs with no redirect (404s) 0 of 27
docs.json redirects 927 → 950 (+23; the other 4 already existed)
New redirects whose destination doesn't exist 0
Navigation refs that don't resolve (build break) 0
npx mint broken-links success no broken links found, exit 0
docs-linkcheck . result: PASS (0 warnings)
Orphan pages 251 → 219

Pre-existing, not caused by this PR, verified identical on origin/main:

  • mint validate / broken-links both print
    warning - Error validating OpenAPI file /docs.json … version must be a string — on main too.
  • 424 redirect destinations don't resolve to a file (wildcards such as /vN/:slug*, and redirect
    chains) — 424 on main, 424 here. None of the 23 new entries is among them.

Not touched — these need an owner's decision

Scope correction to ENG-58472. The ticket says "37 stale duplicate AI Agents API pages". There
are 36 files under ai-agents/apis/, and only 6 duplicate a page in the current reference
(deleted above). The other 30 document endpoints that have no page in
/rest-api/ai-agents-apis/ — mostly dashboard-internal surfaces: /ai-agents/forms/*, Composio
OAuth, knowledge-base integrations, tags, and test endpoints. They are either real undocumented API
or dashboard-only internals, and I can't tell which from the docs repo. Deleting them would lose the
only description we have; keeping them orphaned keeps them unmaintained. Needs the AI Agents API
owner to split the list.

  • articles/migration-guide — v2 → v3 migration, no current equivalent anywhere in the docs. Left
    in place and still orphaned.
  • 158 legacy pages under web-shared/* and web-elements/* (v4 React reference). Out of scope
    here. They are a single product decision — keep as a versioned archive, or retire the tree with a
    wildcard redirect to /ui-kit/react/overview — not 158 individual judgments.

Ticket: ENG-58472 · Sibling PR: #641 (the /features page)

🤖 Generated with Claude Code

https://claude.ai/code/session_01XbguTwTfLRtzUBLqizkjui

…ages in nav

251 pages on main are in no navigation. They are live and indexed, so readers
and agents land on them, but nobody maintains them. This takes the unambiguous
ones.

Deleted and redirected (27 files, 23 new redirects):
- 6 AI Agents API stubs that document an endpoint the current reference
  already covers (rest-api/ai-agents-apis/*), matched by OpenAPI operation
- sdk/unreal/SAMPLE_APP.md, a repo readme that shipped as a docs URL
- 4 files that shadowed an existing redirect: ai-agents/actions,
  ai-agents/tools, articles/docker, fundamentals/webhooks-overview
- 9 legacy Kotlin UI Kit pages -> Android UI Kit
- ui-kit/angular/2.0/javascript-2-0-overview, calls/ionic/overview (a
  "coming soon" stub), articles/calendar-scheduling, articles/rate-limits,
  campaigns/webhooks, ai-chatbots/custom-agents,
  sdk/flutter/v5/v5-docs-changelog

Added to navigation: the 5 Unreal Engine SDK pages that were written but
unreachable - conversations, transient-messages, moderation, ui-components
and advanced-configuration.

Six in-content links that pointed at a deleted page now point at the live one
instead of travelling through a redirect.

Not touched, and listed in the PR for a decision: 30 AI Agents API stubs that
document endpoints with no page in the current reference, articles/migration-guide
(v2 -> v3, no replacement), and 158 legacy web-shared/web-elements pages.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XbguTwTfLRtzUBLqizkjui
@mintlify

mintlify Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
cometchat 🟢 Ready View Preview Nov 27, 2026, 10:33 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

This branch was successfully deployed

1 active deployment
staging — e58662a3 Deployed Nov 27, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant