Skip to content

Commit 1268cf8

Browse files
committed
Sidebar config adjustments
1 parent 87610a1 commit 1268cf8

File tree

74 files changed

+46
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+46
-129
lines changed

services/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dapps and Snaps.
2121
Infura offers a robust set of features designed to enhance the development, deployment, and management of dapps. These features
2222
include:
2323

24-
- **Broad access to major networks** - Infura supports the major networks, allowing you to take advantage of Ethereums's smart
24+
- **Broad access to major networks** - Infura supports the major networks, allowing you to take advantage of Ethereum's smart
2525
contracts, IPFS's distributed file system, or high performing layer 2 networks.
2626
- **Failover support for APIs** - Currently available on select networks for customers on Growth or Custom plans; if an Infura API
2727
endpoint becomes unavailable for any reason, requests can be forwarded to a partner to fulfill the request.

services/reference/linea/json-rpc-methods/_eth_getlogs-parameters.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ A filter object containing the following:
88
Learn more about [Linea's layer 2 finalization](https://docs.linea.build/developers/guides/finalized-block).
99
:::
1010
- `topics`: _[optional]_ Array of 32 bytes DATA topics. Topics are order-dependent.
11-
- `blockhash`: _[optional]_ Restricts the logs returned to the single block referenced in the 32-byte hash `blockHash`. Using `blockHash` is equivalent to setting `fromBlock` and `toBlock` to the block number referenced in the `blockHash`. If `blockHash` is present in in the filter criteria, then neither `fromBlock` nor `toBlock` are allowed.
11+
- `blockhash`: _[optional]_ Restricts the logs returned to the single block referenced in the 32-byte hash `blockHash`. Using `blockHash` is equivalent to setting `fromBlock` and `toBlock` to the block number referenced in the `blockHash`. If `blockHash` is present in the filter criteria, then neither `fromBlock` nor `toBlock` are allowed.
1212

wallet-sidebar.js

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,23 @@ const sidebar = {
1111
{
1212
type: "category",
1313
label: "Connect to MetaMask",
14+
collapsible: true,
15+
collapsed: false,
1416
link: { type: "doc", id: "connect/index" },
1517
items: [
1618
{
1719
type: "category",
1820
label: "MetaMask SDK",
21+
collapsible: true,
22+
collapsed: true,
1923
link: { type: "doc", id: "connect/metamask-sdk/index" },
2024
items: [
2125
{
2226
type: "category",
2327
label: "JavaScript",
24-
link: { type: "doc", id: "connect/metamask-sdk/javascript/index" },
2528
collapsible: true,
2629
collapsed: true,
30+
link: { type: "doc", id: "connect/metamask-sdk/javascript/index" },
2731
items: [
2832
{
2933
type: "category",
@@ -100,12 +104,17 @@ const sidebar = {
100104
],
101105
},
102106
],
103-
collapsible: true,
104-
collapsed: true,
105107
},
106108
{
107109
type: "category",
108110
label: "Third-party libraries",
111+
collapsible: true,
112+
collapsed: true,
113+
link: {
114+
type: "generated-index",
115+
slug: "/connect/3rd-party-libraries",
116+
description: "You can connect to MetaMask using third-party libraries that integrate MetaMask SDK."
117+
},
109118
items: [
110119
{
111120
type: "doc",
@@ -118,24 +127,20 @@ const sidebar = {
118127
id: "connect/3rd-party-libraries/web3-onboard"
119128
},
120129
],
121-
collapsible: true,
122-
collapsed: true,
123130
},
124131
{
125132
type: "doc",
126133
label: "Wallet API",
127134
id: "connect/wallet-api",
128135
},
129136
],
130-
collapsible: true,
131-
collapsed: false,
132137
},
133138
{
134139
type: "category",
135140
label: "How to",
136-
link: { type: "generated-index", slug: "/how-to" },
137141
collapsible: true,
138142
collapsed: true,
143+
link: { type: "generated-index", slug: "/how-to" },
139144
items: [
140145
{
141146
type: "doc",
@@ -145,9 +150,9 @@ const sidebar = {
145150
{
146151
type: "category",
147152
label: "Manage networks",
148-
link: { type: "generated-index", slug: "/how-to/manage-networks" },
149153
collapsible: true,
150154
collapsed: true,
155+
link: { type: "generated-index", slug: "/how-to/manage-networks" },
151156
items: [
152157
{
153158
type: "doc",
@@ -164,9 +169,9 @@ const sidebar = {
164169
{
165170
type: "category",
166171
label: "Sign data",
167-
link: { type: "doc", id: "how-to/sign-data/index" },
168172
collapsible: true,
169173
collapsed: true,
174+
link: { type: "doc", id: "how-to/sign-data/index" },
170175
items: [
171176
{
172177
type: "doc",
@@ -198,9 +203,9 @@ const sidebar = {
198203
{
199204
type: "category",
200205
label: "Display in MetaMask",
201-
link: { type: "generated-index", slug: "/how-to/display" },
202206
collapsible: true,
203207
collapsed: true,
208+
link: { type: "generated-index", slug: "/how-to/display" },
204209
items: [
205210
{
206211
type: "doc",
@@ -232,16 +237,14 @@ const sidebar = {
232237
{
233238
type: "category",
234239
label: "Use non-EVM networks",
235-
link: { type: "doc", id: "how-to/use-non-evm-networks/index" },
236240
collapsible: true,
237241
collapsed: true,
242+
link: { type: "doc", id: "how-to/use-non-evm-networks/index" },
238243
items: [
239244
{
240245
type: "category",
241246
label: "Use Starknet",
242247
link: { type: "doc", id: "how-to/use-non-evm-networks/starknet/index" },
243-
collapsible: true,
244-
collapsed: true,
245248
items: [
246249
{
247250
type: "doc",
@@ -290,9 +293,9 @@ const sidebar = {
290293
{
291294
type: "category",
292295
label: "Use the Unity SDK",
293-
link: { type: "doc", id: "how-to/use-unity-sdk/index" },
294296
collapsible: true,
295297
collapsed: true,
298+
link: { type: "doc", id: "how-to/use-unity-sdk/index" },
296299
items: [
297300
{
298301
type: "doc",
@@ -307,9 +310,9 @@ const sidebar = {
307310
{
308311
type: "category",
309312
label: "Interact with smart contracts",
310-
link: { type: "doc", id: "how-to/use-unity-sdk/smart-contracts/index" },
311313
collapsible: true,
312314
collapsed: true,
315+
link: { type: "doc", id: "how-to/use-unity-sdk/smart-contracts/index" },
313316
items: [
314317
{
315318
type: "doc",
@@ -360,9 +363,9 @@ const sidebar = {
360363
{
361364
type: "category",
362365
label: "Concepts",
363-
link: { type: "generated-index", slug: "/concepts" },
364366
collapsible: true,
365367
collapsed: true,
368+
link: { type: "generated-index", slug: "/concepts" },
366369
items: [
367370
{
368371
type: "doc",
@@ -409,9 +412,9 @@ const sidebar = {
409412
{
410413
type: "category",
411414
label: "Tutorials",
412-
link: { type: "generated-index", slug: "/tutorials" },
413415
collapsible: true,
414416
collapsed: true,
417+
link: { type: "generated-index", slug: "/tutorials" },
415418
items: [
416419
{
417420
type: "doc",
@@ -455,9 +458,13 @@ const sidebar = {
455458
{
456459
type: "category",
457460
label: "Non-EVM APIs",
458-
link: { type: "generated-index", slug: "/reference/non-evm-apis" },
459-
collapsed: true,
460461
collapsible: true,
462+
collapsed: true,
463+
link: {
464+
type: "generated-index",
465+
slug: "/reference/non-evm-apis",
466+
description: "Use the following APIs to interact with users' non-EVM accounts."
467+
},
461468
items: [
462469
{
463470
type: "doc",
@@ -474,9 +481,9 @@ const sidebar = {
474481
{
475482
type: "category",
476483
label: "JSON-RPC API",
477-
link: { type: "doc", id: "reference/json-rpc-methods/index" },
478484
collapsible: true,
479485
collapsed: true,
486+
link: { type: "doc", id: "reference/json-rpc-methods/index" },
480487
items: [{ type: "autogenerated", dirName: "reference/json-rpc-methods" }],
481488
},
482489
],

wallet/concepts/android-sdk.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
sidebar_position: 4
32
description: Learn about the Android SDK architecture.
43
tags:
54
- Android SDK

wallet/concepts/architecture.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
sidebar_position: 1
32
description: See the high-level web3 architecture.
43
---
54

wallet/concepts/convenience-libraries.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
description: Learn about convenience libraries.
3-
sidebar_position: 5
43
---
54

65
# Convenience libraries

wallet/concepts/sdk-connections.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
sidebar_position: 3
3-
sidebar_label: SDK connections
42
description: Learn about how a dapp with the SDK installed connects to MetaMask.
53
tags:
64
- JavaScript SDK
@@ -112,7 +110,7 @@ The flow is as follows:
112110

113111
:::note
114112
For all platforms except Android, the SDK uses a Socket.io server to help establish the encrypted connection.
115-
The [Android SDK](android.md) uses direct local communication.
113+
The [Android SDK](android-sdk.md) uses direct local communication.
116114
:::
117115

118116
## Connection status

wallet/concepts/signing-methods.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
description: Learn about the RPC methods for signing transactions in MetaMask.
3-
sidebar_position: 6
43
---
54

65
# Signing methods

wallet/concepts/smart-contracts.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
description: Learn about interacting with smart contracts.
3-
sidebar_position: 8
43
---
54

65
# Smart contracts

wallet/concepts/wallet-api.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
sidebar_position: 2
32
description: Learn about the MetaMask Ethereum provider API.
43
---
54

0 commit comments

Comments
 (0)