aws-amplify / aws-amplify/docs

v1/v2 switcher appears on pages it shouldn't

Open
#6,622 0 comments 0 reactions 0 assignees View on GitHub
amplify/docs-engineering bug
Dominant language
MDX
Stars
506
Forks
1.1k
Avg merge
3h 14m
Merged PRs (30d)
1

Description

**Describe the bug**
For SDK pages of mobile libraries ([Swift](https://docs.amplify.aws/swift/sdk/)/[Android](https://docs.amplify.aws/android/sdk/)), the v1/v2 switcher appears when it shouldn't.

**Expected behavior**
No switcher on SDK pages.

**Screenshots**
image

**Desktop (please complete the following information):**
- OS: [e.g. iOS] Mac
- Browser [e.g. chrome, safari] Chrome
- Version [e.g. 22] Version 119.0.6045.159

Contributor guide

Open the contributing guide

Research direction

Start with the Swift SDK page at docs.amplify.aws/swift/sdk/ and the Android SDK page at docs.amplify.aws/android/sdk/, then trace how the v1/v2 switcher is selected for those routes. Done means the switcher no longer appears on either SDK page while remaining available where it is expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, swift
Domain
documentation, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.