Skip to content

Commit

Permalink
fix(docs): sidebar (#7063)
Browse files Browse the repository at this point in the history
* Move MetaMask guide to Accounts section

* Reorganize sidebar

* Fix broken link
  • Loading branch information
danforbes committed May 30, 2024
1 parent f687df6 commit b63af9f
Show file tree
Hide file tree
Showing 20 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion docs/docs/guides/advanced/_category_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ label: '🧠 Advanced'
collapsible: true
collapsed: true
link: null
position: 15
position: 11
2 changes: 1 addition & 1 deletion docs/docs/guides/events_subscriptions/_category_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ label: '🔔 Events subscription'
collapsible: true
collapsed: true
link: null
position: 7
position: 5
2 changes: 1 addition & 1 deletion docs/docs/guides/feedback/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 18
sidebar_position: 17
sidebar_label: '🗣️ Feedback'
---

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/guides/hardhat_tutorial/_category_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ label: '⛑️ Hardhat Tutorial'
collapsible: true
collapsed: true
link: null
position: 3
position: 6
2 changes: 1 addition & 1 deletion docs/docs/guides/migration_from_other_libs/_category_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ label: '🔄 Migration Guides'
collapsible: true
collapsed: true
link: null
position: 12
position: 15
2 changes: 1 addition & 1 deletion docs/docs/guides/resources_and_troubleshooting/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 17
sidebar_position: 16
sidebar_label: '📚 Resources & Troubleshooting'
---
# Resources & Troubleshooting
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/guides/smart_contracts/_category_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ label: '📜 Smart Contracts'
collapsible: true
collapsed: true
link: null
position: 6
position: 4
2 changes: 1 addition & 1 deletion docs/docs/guides/wagmi_usage/_category_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ label: '🔄 Wagmi usage'
collapsible: true
collapsed: true
link: null
position: 13
position: 14
2 changes: 1 addition & 1 deletion docs/docs/guides/wallet/_category_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ label: '🔑 Wallet and Accounts '
collapsible: true
collapsed: true
link: null
position: 5
position: 3
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 4
sidebar_label: Connecting to Metamask
sidebar_label: 'Tutorial: Connecting to Metamask'
---

# Connecting to Metamask
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/guides/wallet/node_wallet.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 6
sidebar_position: 8
sidebar_label: 'Tutorial: Node Wallet'
---

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/guides/wallet/signing.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 4
sidebar_position: 6
sidebar_label: 'Tutorial: Signing operations'
---

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/guides/wallet/transactions.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 5
sidebar_position: 7
sidebar_label: 'Tutorial: Sending Transactions'
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ label: '📱 WalletConnect Tutorial'
collapsible: true
collapsed: true
link: null
position: 14
position: 5
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ const USDTAddress = '0xdac17f958d2ee523a2206206994597c13d831ec7';
function Components() {
const { isConnected } = useWeb3ModalAccount()
const { walletProvider } = useWeb3ModalProvider()
const [USDTBalance, setUSDTBalance] = useState(0);
const [smartContractName, setSmartContractName] = useState('');
const [USDTBalance, setUSDTBalance] = useState(0);
const [smartContractName, setSmartContractName] = useState('');

async function getContractInfo() {
if (!isConnected) throw Error('not connected');
Expand All @@ -126,5 +126,5 @@ function Components() {
```
:::info
- To learn how to set up Web3modal with vue, click [here](/guides/web3_modal_guide/vue).
:::
- To learn how to set up Web3modal with vue, click [here](/guides/wallet/web3_modal_guide/vue).
:::
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/docs/guides/web3_config/_category_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ label: '⚙️ Web3 config'
collapsible: true
collapsed: true
link: null
position: 16
position: 7
2 changes: 1 addition & 1 deletion docs/docs/guides/web3_plugin_guide/_category_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ label: '🛠️ Web3 Plugin 🧩'
collapsible: true
collapsed: true
link: null
position: 2
position: 12
2 changes: 1 addition & 1 deletion docs/docs/guides/web3_providers_guide/_category_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ label: '🔌 Providers'
collapsible: true
collapsed: true
link: null
position: 4
position: 2
2 changes: 1 addition & 1 deletion docs/docs/guides/web3_upgrade_guide/_category_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ label: '⬆️ Upgrading'
collapsible: true
collapsed: true
link: null
position: 11
position: 13

1 comment on commit b63af9f

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: b63af9f Previous: f687df6 Ratio
processingTx 8492 ops/sec (±5.07%) 9365 ops/sec (±3.96%) 1.10
processingContractDeploy 39518 ops/sec (±6.31%) 40480 ops/sec (±6.82%) 1.02
processingContractMethodSend 18741 ops/sec (±7.77%) 19557 ops/sec (±7.88%) 1.04
processingContractMethodCall 39031 ops/sec (±6.06%) 38715 ops/sec (±5.85%) 0.99
abiEncode 43800 ops/sec (±6.74%) 44369 ops/sec (±8.49%) 1.01
abiDecode 29194 ops/sec (±8.15%) 30844 ops/sec (±7.90%) 1.06
sign 1549 ops/sec (±0.87%) 1622 ops/sec (±0.86%) 1.05
verify 368 ops/sec (±0.60%) 372 ops/sec (±1.35%) 1.01

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.