Skip to content

Commit ab29d93

Browse files
authored
Merge pull request WalletConnect#1683 from WalletConnect/feat/add-migration-to-sidebar
[Feat] Add migration from RainbowKit to the sidebar
2 parents ee1f58c + c909264 commit ab29d93

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ yarn-error.log*
2121
.vercel
2222

2323
# Environment variables
24-
.env
24+
.env
25+
26+
.vscode

docs/appkit/migration/from-rainbowkit-next.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
title: Migration from RainbowKit to AppKit
3+
pagination_next:
4+
35
---
46

57
# Migration from RainbowKit to AppKit

sidebars.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,16 @@ module.exports = {
230230
{ type: 'doc', label: 'Solana', id: 'appkit/features/solana' }
231231
]
232232
},
233-
'appkit/upgrade'
233+
'appkit/upgrade',
234+
{
235+
type: 'category',
236+
label: 'Migration',
237+
collapsed: true,
238+
collapsible: true,
239+
items: [
240+
{ type: 'doc', label: 'From RainbowKit', id: 'appkit/migration/from-rainbowkit-next' },
241+
]
242+
},
234243
]
235244
},
236245
{

src/theme/DocSidebar/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export const FrameworksMenu = () => {
2929
if (
3030
location.pathname.includes('/appkit/overview') ||
3131
location.pathname.includes('/appkit/features') ||
32+
location.pathname.includes('/appkit/migration') ||
3233
location.pathname.includes('/appkit/upgrade') ||
3334
location.pathname.includes('/walletkit/overview') ||
3435
location.pathname.includes('/walletkit/features') ||

0 commit comments

Comments
 (0)