You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refer to the [Consensys documentation style guide](https://docs-template.consensys.net/contribute/style-guide).
118
118
119
+
## Format links
120
+
121
+
Most links in the Markdown pages use *relative file paths*, for example:
122
+
123
+
```md title="Relative file path in Smart Accounts Kit docs"
124
+
You can enable users to create a [MetaMask smart account](../../concepts/smart-accounts.md) directly in your dapp.
125
+
```
126
+
127
+
However, when linking between different product sections or using the `CardList` component, use *absolute URL paths*. For example:
128
+
129
+
```md title="Absolute URL path in Wallet API docs"
130
+
When a dapp requests to submit a batch of transactions atomically, MetaMask may prompt users to upgrade their externally owned account (EOA) to a [MetaMask smart account](/smart-accounts-kit/concepts/smart-accounts).
131
+
```
132
+
133
+
```md title="Absolute URL path in Snaps docs"
134
+
<CardList
135
+
items={[
136
+
{
137
+
href: '/snaps/learn/about-snaps',
138
+
title: 'About Snaps',
139
+
description: 'See a high-level, technical overview of the Snaps system.',
140
+
},
141
+
...
142
+
]}
143
+
/>
144
+
```
145
+
119
146
## Add images
120
147
121
-
All images are located in the `wallet/assets`, `sdk/_assets`, `snaps/assets`, `services/images`, and
122
-
`developer-tools/images` directories.
148
+
All images are located in the `sdk/_assets`, `wallet/assets`, `smart-accounts-kit/assets`, `services/images`,
149
+
`developer-tools/images`, `snaps/assets`, and `static/img` directories.
123
150
When adding a new image, such as a screenshot or diagram, make sure the image has a white or
124
151
`#1b1b1d` color background in order for it to be compatible with the site's light and dark modes.
0 commit comments