Format filenames in embedded-wallets and add redirects in Readme.md and vercel.json#2872
Conversation
…b-case in react-native sdk
|
@swastik7805 is attempting to deploy a commit to the Consensys Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Reviewed by Cursor Bugbot for commit 20c4471. Configure here.
|
@bgravenorst @alexandratran @AyushBherwani1998 @yashovardhan hey guys, i have fixed issue #2863 by updating filenames as per markdown-formatting.mdc and update redirect links in respective Readme.md and vercel.json. PR is updated and ready for review. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
bgravenorst
left a comment
There was a problem hiding this comment.
Thanks for the contribution @swastik7805 🚀

Description
This PR refactors filename conventions in the
embedded-wallets/sdk/directory to satisfy themarkdown-formatting.mdcguideline (lowercase letters and dashes only).Previously, many files in the
usage/sections used camelCase names that mirrored technical API methods. This PR standardizes them across all SDK platforms(iOS, Android, React Native, Flutter, Unity, Unreal, and JS).Key Changes:
.mdxfiles from camelCase to kebab-case (e.g.,getUserInfo.mdx➞get-user-info.mdx,enableMFA.mdx➞enable-mfa.mdx).ew-sidebar.jsconfig to point to the new lowercase-dashed paths.301redirects invercel.jsonfor every renamed path to prevent broken links for users with bookmarks or external references.Readme.md.Issue(s) fixed
Fixes #2863 proposed by @bgravenorst .
Preview
The changes impact the URL structure of the "Usage" section across all Embedded Wallets SDKs. Redirects have been verified in
vercel.json.Before:
After:
Checklist
External contributor checklist
Note
Medium Risk
Mostly documentation routing changes, but it touches many URLs and relies on comprehensive redirects; any missed mapping could cause broken links or sidebar 404s.
Overview
Standardizes Embedded Wallets SDK usage doc slugs across Android, iOS, Flutter, React Native, Unity, Unreal, and JS by switching function-page links from camelCase to kebab-case in each platform
usage/README.mdx.Updates the Docusaurus sidebar (
ew-sidebar.js) to reference the new kebab-case doc IDs, and adds permanent (301) Vercel redirects invercel.jsonfrom the old camelCase routes to the new kebab-case routes to avoid breaking existing inbound links.Reviewed by Cursor Bugbot for commit 099ebee. Bugbot is set up for automated code reviews on this repo. Configure here.