Skip to content

Docs: fix two broken links on the Android AI chatbots and iOS 2.0 pages - #614

Open
amitthacker-maker wants to merge 1 commit into
cometchat:mainfrom
amitthacker-maker:docs-fix/batch-a-decided-links
Open

amitthacker-maker wants to merge 1 commit into
cometchat:mainfrom
amitthacker-maker:docs-fix/batch-a-decided-links

Conversation

@amitthacker-maker

Copy link
Copy Markdown

Two links that needed a decision rather than a mechanical fix. Both were found by a link audit; the rest of that batch was either already correct on main or fixed mechanically earlier.

sdk/android/ai-chatbots-overview.mdx

The line read "For a broader introduction, see the AI Chatbots section."

/ai-chatbots has no page of its own, only two children. The live URL returns 200 but renders Home - CometChat Docs, so a reader clicking that link landed on the docs front page rather than an introduction. No redirect covers the bare slug, although nine other /ai-chatbots/* redirects exist.

It now points at /ai-agents, and the link text changed from "AI Chatbots section" to "AI Agents section" to match where it goes. /ai-agents is a real page and the top-level group in the nav. /ai-chatbots/custom-bots was the closer match by name, but it is marked "hidden": true in docs.json, so a reader sent there has no siblings to navigate out to.

The next line on that page links to /sdk/android/ai-agents, the Android SDK page, so this does not create a duplicate link.

sdk/ios/2.0/overview.mdx

The line read [Download iOS SDK from Github](hhttps://github.com/cometchat-pro/sdk/ios).

Dropping the stray h was not the fix: the resulting URL returns 404, so the target itself was wrong. Both old repository names redirect to cometchat/chat-sdk-ios, whose default branch is now v4. Since this is a 2.0 page, it points at the v2-legacy branch, which matches the Obj-C chat app link directly above it on the same page.

Checking it

grep -rn "](/ai-chatbots)" --include="*.mdx" .
grep -rn "hhttps://" --include="*.mdx" .

Both should return nothing.

🤖 Generated with Claude Code

Two links needed a decision rather than a mechanical fix.

sdk/android/ai-chatbots-overview.mdx pointed at /ai-chatbots, which
has no page of its own. The live URL returns 200 but renders the docs
Home page, so a reader clicking "AI Chatbots section" landed on the
front page. No redirect covers the bare slug. Points at /ai-agents
now, a real page and the top-level nav group, with the link text
changed to match. /ai-chatbots/custom-bots was the closer match by
similarity but is marked hidden in docs.json.

sdk/ios/2.0/overview.mdx carried a leftover typo, hhttps. Dropping the
stray letter gives a 404, so the URL itself was wrong. The old repo
names redirect to cometchat/chat-sdk-ios, whose default branch is now
v4; this is a 2.0 page, so it points at the v2-legacy branch, matching
the Obj-C chat app link above it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Nov 17, 2026

Copy link
Copy Markdown

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit e6beb48.

Approve preview

This branch has not been deployed

No deployments
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.

2 participants