Repository navigation
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
Open
amitthacker-maker wants to merge 1 commit into
amitthacker-maker wants to merge 1 commit into
Conversation
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>
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
mainor fixed mechanically earlier.sdk/android/ai-chatbots-overview.mdxThe line read "For a broader introduction, see the AI Chatbots section."
/ai-chatbotshas 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-agentsis a real page and the top-level group in the nav./ai-chatbots/custom-botswas the closer match by name, but it is marked"hidden": trueindocs.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.mdxThe line read
[Download iOS SDK from Github](hhttps://github.com/cometchat-pro/sdk/ios).Dropping the stray
hwas not the fix: the resulting URL returns 404, so the target itself was wrong. Both old repository names redirect tocometchat/chat-sdk-ios, whose default branch is nowv4. Since this is a 2.0 page, it points at thev2-legacybranch, which matches the Obj-C chat app link directly above it on the same page.Checking it
Both should return nothing.
🤖 Generated with Claude Code