Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 102751b

Browse files
Adjust naming of product sections (MetaMask#29)
1 parent 6fc23ed commit 102751b

39 files changed

Lines changed: 13 additions & 12 deletions

docusaurus.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ const config = {
3333
/** @type {import('@docusaurus/preset-classic').Options} */
3434
({
3535
docs: {
36-
path: "api-sdk",
37-
routeBasePath: "api-sdk",
38-
sidebarPath: require.resolve("./api-sdk-sidebar.js"),
36+
path: "wallet",
37+
routeBasePath: "wallet",
38+
sidebarPath: require.resolve("./wallet-sidebar.js"),
3939
breadcrumbs: false,
4040
remarkPlugins: [
4141
[remarkCodesandbox, {
@@ -77,7 +77,7 @@ const config = {
7777
{
7878
type: "doc",
7979
docId: "index",
80-
label: "API & SDK",
80+
label: "Wallet",
8181
},
8282
{
8383
type: "doc",

snaps/how-to/develop-a-snap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Develop a snap
22

3-
A snap can extend the dapp-facing [MetaMask JSON-RPC API](../../api-sdk/reference/rpc-api) in
3+
A snap can extend the dapp-facing [MetaMask JSON-RPC API](../../wallet/reference/rpc-api) in
44
arbitrary ways, or integrate with and extend the functionality of MetaMask using the
55
[Snaps JSON-RPC API](../reference/rpc-api.md) and [permissions](request-permissions.md).
66

snaps/reference/rpc-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ granted permissions.
5454

5555
This is a convenience method for requesting the user's accounts and connecting to and installing snaps.
5656
You can think of it as a combination of
57-
[`eth_requestAccounts`](../../api-sdk/reference/rpc-api#eth_requestaccounts),
57+
[`eth_requestAccounts`](../../wallet/reference/rpc-api#eth_requestaccounts),
5858
[`wallet_installSnaps`](#wallet_installsnaps), and
59-
[`wallet_requestPermissions`](../../api-sdk/reference/rpc-api#wallet_requestpermissions).
59+
[`wallet_requestPermissions`](../../wallet/reference/rpc-api#wallet_requestpermissions).
6060

6161
#### Example
6262

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
44
const sidebar = {
5-
apiSidebar: [
5+
walletSidebar: [
66
"index",
77
{
88
type: "category",

0 commit comments

Comments
 (0)