Skip to content

[A/B v2 — do not merge] V&V versions→tabs, test version-tree 500 - #459

Draft
raj-dubey1 wants to merge 2 commits into
mainfrom
docs/version-tree-flatten-v2
Draft

[A/B v2 — do not merge] V&V versions→tabs, test version-tree 500#459
raj-dubey1 wants to merge 2 commits into
mainfrom
docs/version-tree-flatten-v2

Conversation

@raj-dubey1

Copy link
Copy Markdown
Contributor

A/B test v2 — NOT for merge

Second attempt to test whether restructuring away from the crashing version-switcher shape stops the desktop Error 500 (insertBefore crash in Mintlify's bundle f486afc314643ce1.js).

v1 (tab → versions) broke V&V routing. This v2 uses the documented "versions containing tabs" pattern:

SDK tab → versions[v5 (default:true), v4] → tabs[JavaScript, React Native, iOS, Android, Flutter] → groups

  • v5 is default so canonical URLs stay unprefixed (e.g. /calls/javascript/overview).
  • Verified with mintlify dev: all V&V pages route (200 + real content) and the page renders a v5 version selector + the five framework tabs. Page paths unchanged.

Test on this preview

  1. Confirm /calls/javascript/overview renders V&V content (routing OK).
  2. Open the version switcher on that page (desktop viewport) → does it 500?
  3. Control: /ui-kit/react/overview (Chat, still nested) should still 500.

Note: the config that crashes is schema-valid per Mintlify's own docs.json schema, so this is a Mintlify runtime bug regardless; this A/B only tests whether a different (also-valid) shape happens to avoid it.

🤖 Generated with Claude Code

raj-dubey1 and others added 2 commits August 6, 2026 20:38
…tabs)

Correct shape after v1 (tab->versions) broke V&V routing. Inverts the
SDK nesting from dropdowns(framework)->versions to the documented
"versions containing tabs" pattern:
  SDK tab -> versions[v5 (default:true), v4] -> tabs[JS, RN, iOS, Android, Flutter] -> groups

v5 marked default so canonical URLs (e.g. /calls/javascript/overview)
stay unprefixed. Verified locally with mintlify dev: all V&V pages route
(200 + real content) and the page renders a v5 version selector plus the
five framework tabs. Page paths unchanged. Not for merge.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mintlify

mintlify Bot commented Aug 7, 2026

Copy link
Copy Markdown

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

Project Status Preview Updated (UTC)
cometchat 🟢 Ready View Preview Aug 7, 2026, 8:00 AM

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

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