Skip to content

Sync kane cli docs from testmuCom (MDX format) - #3566

Open
surishubham wants to merge 1 commit into
stage-mintlifyfrom
claude/adoring-feynman-uz93pt
Open

surishubham wants to merge 1 commit into
stage-mintlifyfrom
claude/adoring-feynman-uz93pt

Conversation

@surishubham

Copy link
Copy Markdown
Collaborator

What

Syncs the Kane CLI mobile device-selection changes from testmuCom into stage-mintlify, converted from Docusaurus Markdown to Mintlify MDX. The last kane-cli-docs sync merged into stage-mintlify was PR #3493 (8 Sep); testmuCom's git history was squashed on 11 Sep, so this sync compares current rendered content on both branches rather than commit-by-commit.

Kane CLI made two related changes since the last sync:

  1. Single --device <id> flag. The separate --device-name <name> / --os-version <version> flags (and the matching device_name / os_version config keys and Test.md frontmatter fields) were replaced by one --device <id> flag that accepts a name, serial, ip:port, or udid. The kane-cli devices list and kane-cli apps list commands were removed; kane-cli doctor --targets now covers listing available devices.
  2. Mobile batch runs and cloud-grid dispatch removed. A _test.md with a mobile target is now rejected up front in a testrun batch run — mobile tests run one at a time with kane-cli testmd run. The kane-cli testrun run --remote cloud-grid path for mobile suites was dropped along with it.

Changes

  • docs/kane-cli-cli-reference.mdx--device <id> flag, removed devices list/apps list command sections, updated config set-device.
  • docs/kane-cli-configuration.mdxdevice config key replaces device_name/os_version.
  • docs/kane-cli-modes.mdx — mobile run flags section updated to --device.
  • docs/kane-cli-testmd.mdx — removed device_name/os_version frontmatter keys; updated mobile-target note (batch runs reject mobile targets).
  • docs/kane-cli-testrun.mdx — removed the stale "Mobile members" section (with cloud-grid dispatch) and the --remote/--device-name/--os-version flag rows, replaced with a note that mobile is not supported in a batch run.
  • docs/kane-cli-mobile.mdx — updated Setup/Running sections to the single --device flag and doctor --targets; removed the "Running a Mobile Suite on the Cloud Grid" section and its Next Steps/Prerequisites references, since remote dispatch for mobile no longer exists.
  • docs/kane-cli-troubleshooting.mdx — simplified the Mobile Issues doctor commands (no more per-target --target flag).
  • Removed docs/kane-cli-mobile-emulator.mdx and docs/kane-cli-mobile-simulator.mdx — both were already dead: docs.json permanently redirects /docs/kane-cli-mobile-simulator and /docs/kane-cli-mobile-emulator to /docs/kane-cli-mobile, and neither page is in the nav. Their content had also drifted out of sync with the consolidated setup steps on the Mobile Testing page. testmuCom itself turned these into redirect stubs.

Not included

The rest of the ~60 kane-cli-*.mdx pages were compared content-for-content against their testmuCom .md counterparts (frontmatter, breadcrumb scripts, and known Mintlify-only additions like <KaneCliCta /> normalized out first) and matched, aside from pre-existing wording-only drift (em dash vs. colon, image path prefixes, anchor-tag vs. heading-id syntax) that predates this sync and isn't attributable to any recent testmuCom content change — left as-is to keep this PR scoped to real content.

The sitewide "Verified" badge + breadcrumb schema commit on testmuCom (827 files, additive only) was intentionally not ported: it's a Docusaurus-only component (@site/src/component/verifiedTag) applied site-wide, not kane-cli-specific content.

docs/kane-ai-click-interactions.md (new on testmuCom) was also left out — it documents a KaneAI web-product feature, not Kane CLI, so it's out of scope for this sync.


🤖 Generated with Claude Code

https://claude.ai/code/session_01NEGeFy6M7VJeZjnP6z5bzZ


Generated by Claude Code

Kane CLI replaced the separate --device-name/--os-version flags (and the
device_name/os_version config keys and Test.md frontmatter fields) with a
single --device <id> flag that accepts a name, serial, ip:port, or udid.
The kane-cli devices list and apps list commands were also removed in
favor of kane-cli doctor --targets.

Additionally, mobile support in batch runs (testrun) and the cloud-grid
--remote dispatch path for mobile suites were dropped from Kane CLI;
mobile tests now run one at a time with kane-cli testmd run.

Updates docs/kane-cli-cli-reference.mdx, docs/kane-cli-configuration.mdx,
docs/kane-cli-modes.mdx, docs/kane-cli-testmd.mdx, docs/kane-cli-testrun.mdx,
docs/kane-cli-troubleshooting.mdx, and docs/kane-cli-mobile.mdx to match,
and removes docs/kane-cli-mobile-emulator.mdx and
docs/kane-cli-mobile-simulator.mdx, which were already dead (docs.json
already permanently redirects both paths to /docs/kane-cli-mobile and the
nav no longer lists them) and had drifted out of sync with the setup
steps now consolidated on the Mobile Testing page.

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

mintlify Bot commented Sep 20, 2026

Copy link
Copy Markdown

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

Project Status Preview Updated
lambdatest-f4bdd228 🟢 Ready View Preview Sep 20, 2026, 9:02 AM

💡 Tip: Enable Automations 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants