Skip to content

Commit

Permalink
fix sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandratran committed Sep 18, 2024
1 parent c46e84a commit 1ea5abb
Show file tree
Hide file tree
Showing 12 changed files with 64 additions and 8 deletions.
45 changes: 42 additions & 3 deletions wallet-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,52 @@ const sidebar = {
{
type: "category",
label: "Connect to MetaMask",
link: {type: "doc", id: "connect/index"},
link: { type: "doc", id: "connect/index" },
items: [
{
type: "category",
label: "MetaMask SDK",
link: {type: "doc", id: "connect/metamask-sdk/index"},
items: [{ type: "autogenerated", dirName: "connect/metamask-sdk" }],
link: { type: "doc", id: "connect/metamask-sdk/index" },
items: [
{
type: "category",
label: "JavaScript",
link: { type: "doc", id: "connect/metamask-sdk/javascript/index" },
items: [
{
type: "category",
label: "React",
link: { type: "doc", id: "connect/metamask-sdk/javascript/react/index" },
items: [
"connect/metamask-sdk/javascript/react/react-ui",
],
},
"connect/metamask-sdk/javascript/pure-js",
"connect/metamask-sdk/javascript/other-web-frameworks",
"connect/metamask-sdk/javascript/nodejs",
"connect/metamask-sdk/javascript/electron",
],
},
{
type: "category",
label: "Mobile",
link: { type: "doc", id: "connect/metamask-sdk/mobile/index" },
items: [
"connect/metamask-sdk/mobile/ios",
"connect/metamask-sdk/mobile/android",
"connect/metamask-sdk/mobile/react-native",
],
},
{
type: "category",
label: "Gaming",
link: { type: "doc", id: "connect/metamask-sdk/gaming/index" },
items: [
"connect/metamask-sdk/gaming/unity",
"connect/metamask-sdk/gaming/unreal-engine",
],
},
],
},
{
type: "category",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion wallet/connect/metamask-sdk/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- Unity SDK
---

# Use MetaMask SDK
# MetaMask SDK

MetaMask SDK is a library that provides a reliable, secure, and seamless connection from your dapp
to the MetaMask browser extension and MetaMask Mobile.
Expand Down
File renamed without changes.
17 changes: 17 additions & 0 deletions wallet/how-to/use-unity-sdk/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
sidebar_position: 9
description: Use the Unity SDK.
tags:
- Unity SDK
---

# Use the Unity SDK

See the guides in this section for using advanced features of the Unity SDK:

- [Connect and sign in Unity.](connect-and-sign.md)
- [Set up Infura in Unity.](infura.md)
- [Interact with smart contracts in Unity.](smart-contracts/index.md)
- [Enable human-readable addresses in Unity using Decentraweb.](dweb.md)

You can also see the guide to [set up MetaMask SDK in your Unity game](../../connect/metamask-sdk/gaming/).
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ your Unity game.

<p align="center">

![MetaMask Unity script](../../../../assets/unity-infura.png)
![MetaMask Unity script](../../assets/unity-infura.png)

</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ A new dialog box opens:

<p align="center">

![dialog](../../../../../assets/contract-abi-converter-dialog.png)
![dialog](../../../assets/contract-abi-converter-dialog.png)

</p>

Expand Down Expand Up @@ -99,7 +99,7 @@ Before using the contract template, configure the contract address to use for ea

<p align="center">

![empty template](../../../../../assets/unity-empty-template.png)
![empty template](../../../assets/unity-empty-template.png)

</p>

Expand All @@ -109,7 +109,7 @@ When adding a new address, if you don't see your desired blockchain listed, you

<p align="center">

![full template](../../../../../assets/unity-example-template.png)
![full template](../../../assets/unity-example-template.png)

</p>

Expand Down

0 comments on commit 1ea5abb

Please sign in to comment.