Skip to content

Commit 78b83c5

Browse files
committed
chore(docs): reposition the smart account documentation
1 parent 892b6c1 commit 78b83c5

File tree

6 files changed

+44
-9
lines changed

6 files changed

+44
-9
lines changed

docs/ability/official-abilities/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: Official Abilities
99
| Ability | Category | Description |
1010
| --------------------------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
1111
| [Aave](./aave) | DeFi Protocol | Integrate with the Aave V3 lending protocol to supply, borrow, repay, and withdraw assets, unlocking a full suite of DeFi lending features. |
12-
| [Aave Smart Account](./aave-smart-account) | DeFi Protocol | Validate and sign ERC-4337 UserOperations for Aave protocol interactions with Smart Accounts, enabling secure delegated signing with comprehensive validation. |
12+
| [Aave Smart Account](/smart-account/abilities/aave-smart-account) | DeFi Protocol | Validate and sign ERC-4337 UserOperations for Aave protocol interactions with Smart Accounts, enabling secure delegated signing with comprehensive validation. |
1313
| [Aerodrome Swap](./aerodrome-swap) | DeFi Protocol | Execute token swaps on Aerodrome DEX on Base network with integrated approval management and optional gas sponsorship. |
1414
| [deBridge](./debridge) | Cross-Chain | Bridge tokens across multiple blockchains using the deBridge protocol, streamlining cross-chain transfers. |
1515
| [ERC20 Approval](./erc20-approval) | Utility | Manage ERC20 token allowances, a foundational step for enabling DeFi operations like swaps, lending, and liquidity provision. |

docs/concepts/wallets/about.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Vincent Wallets are non-custodial, cross-chain wallets powered by [Lit Protocol'
2828
<Card title="Agent Wallets" icon="wallet" href="/concepts/wallets/agent-wallets" color="#FF4205">
2929
Understand app-specific wallet delegation
3030
</Card>
31-
<Card title="Smart Accounts" icon="microchip" href="/concepts/wallets/smart-accounts" color="#FF4205">
31+
<Card title="Smart Accounts" icon="microchip" href="/smart-account/introduction/about" color="#FF4205">
3232
Discover programmable accounts with delegated signing
3333
</Card>
3434
</Columns>

docs/docs.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
"pages": [
2727
"concepts/wallets/about",
2828
"concepts/wallets/user-accounts",
29-
"concepts/wallets/agent-wallets",
30-
"concepts/wallets/smart-accounts"
29+
"concepts/wallets/agent-wallets"
3130
]
3231
}
3332
]
@@ -77,7 +76,6 @@
7776
"pages": [
7877
"ability/official-abilities/overview",
7978
"ability/official-abilities/aave",
80-
"ability/official-abilities/aave-smart-account",
8179
"ability/official-abilities/aerodrome-swap",
8280
"ability/official-abilities/debridge",
8381
"ability/official-abilities/erc20-approval",
@@ -120,6 +118,19 @@
120118
}
121119
]
122120
},
121+
{
122+
"tab": "Smart Account Developers",
123+
"groups": [
124+
{
125+
"group": "Introduction",
126+
"pages": ["smart-account/introduction/about"]
127+
},
128+
{
129+
"group": "Abilities",
130+
"pages": ["smart-account/abilities/aave-smart-account"]
131+
}
132+
]
133+
},
123134
{
124135
"tab": "API Reference",
125136
"groups": [

docs/ability/official-abilities/aave-smart-account.mdx renamed to docs/smart-account/abilities/aave-smart-account.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Depending on your role in the Vincent Ecosystem, you'll be interacting with this
4646
- **Vincent App Delegatees**: If you're executing this ability on behalf of Vincent App Users, go [here](#executing-the-ability-as-a-vincent-app-delegatee).
4747

4848
<Note>
49-
This ability is designed for Smart Account (ERC-4337) workflows. If you're using regular EOA wallets, use the standard [Aave Ability](./aave) instead.
49+
This ability is designed for Smart Account (ERC-4337) workflows. If you're using regular EOA wallets, use the standard [Aave Ability](/ability/official-abilities/aave) instead.
5050
</Note>
5151

5252
## Adding the Ability to your Vincent App
@@ -99,7 +99,7 @@ graph TD
9999

100100
</div>
101101

102-
Learn more about Smart Accounts in the [Smart Accounts concept guide](/concepts/wallets/smart-accounts).
102+
Learn more about Smart Accounts in the [Smart Accounts concept guide](/smart-account/introduction/about).
103103

104104
### Executing the `precheck` Function
105105

@@ -524,7 +524,7 @@ Network support is limited by Alchemy's `alchemy_simulateUserOperationAssetChang
524524
## Learn More
525525

526526
<Columns cols={3}>
527-
<Card title="Smart Accounts" icon="microchip" href="/concepts/wallets/smart-accounts" color="#FF4205">
527+
<Card title="Smart Accounts" icon="microchip" href="/smart-account/introduction/about" color="#FF4205">
528528
Learn about Smart Account architecture with Vincent
529529
</Card>
530530
<Card title="Standard Aave Ability" icon="coins" href="/ability/official-abilities/aave" color="#FF4205">

docs/concepts/wallets/smart-accounts.mdx renamed to docs/smart-account/introduction/about.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'Smart Accounts'
2+
title: 'About'
33
---
44

55
Smart Accounts are programmable blockchain accounts that enable advanced transaction patterns beyond traditional wallet capabilities. When integrated with Vincent, Smart Accounts allow you to delegate signing authority to Agent Wallets with built-in safety validation, unlocking powerful automation while maintaining full control over your assets.

docs/style.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,27 @@
2222
.edgeLabel text {
2323
fill: white !important;
2424
}
25+
26+
/* Fix code blocks in light mode */
27+
.light pre,
28+
.light pre[class*="language-"] {
29+
background-color: #f6f8fa !important;
30+
}
31+
32+
.light code,
33+
.light code[class*="language-"] {
34+
background-color: #f6f8fa !important;
35+
color: #24292f !important;
36+
}
37+
38+
.light pre code {
39+
background-color: transparent !important;
40+
}
41+
42+
/* Ensure inline code has proper styling */
43+
.light :not(pre) > code {
44+
background-color: rgba(175, 184, 193, 0.2) !important;
45+
color: #24292f !important;
46+
padding: 0.2em 0.4em !important;
47+
border-radius: 6px !important;
48+
}

0 commit comments

Comments
 (0)