Sync kane cli docs from testmuCom (MDX format) - #3566
Open
surishubham wants to merge 1 commit into
Open
surishubham wants to merge 1 commit into
surishubham wants to merge 1 commit into
Conversation
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
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
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.
What
Syncs the Kane CLI mobile device-selection changes from
testmuComintostage-mintlify, converted from Docusaurus Markdown to Mintlify MDX. The last kane-cli-docs sync merged intostage-mintlifywas 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:
--device <id>flag. The separate--device-name <name>/--os-version <version>flags (and the matchingdevice_name/os_versionconfig keys and Test.md frontmatter fields) were replaced by one--device <id>flag that accepts a name, serial,ip:port, or udid. Thekane-cli devices listandkane-cli apps listcommands were removed;kane-cli doctor --targetsnow covers listing available devices._test.mdwith a mobile target is now rejected up front in atestrunbatch run — mobile tests run one at a time withkane-cli testmd run. Thekane-cli testrun run --remotecloud-grid path for mobile suites was dropped along with it.Changes
docs/kane-cli-cli-reference.mdx—--device <id>flag, removeddevices list/apps listcommand sections, updatedconfig set-device.docs/kane-cli-configuration.mdx—deviceconfig key replacesdevice_name/os_version.docs/kane-cli-modes.mdx— mobile run flags section updated to--device.docs/kane-cli-testmd.mdx— removeddevice_name/os_versionfrontmatter 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-versionflag 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--deviceflag anddoctor --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 Issuesdoctorcommands (no more per-target--targetflag).docs/kane-cli-mobile-emulator.mdxanddocs/kane-cli-mobile-simulator.mdx— both were already dead:docs.jsonpermanently redirects/docs/kane-cli-mobile-simulatorand/docs/kane-cli-mobile-emulatorto/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.testmuComitself turned these into redirect stubs.Not included
The rest of the ~60
kane-cli-*.mdxpages were compared content-for-content against theirtestmuCom.mdcounterparts (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 recenttestmuComcontent 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 ontestmuCom) 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