Skip to content

Commit 2e3857e

Browse files
committed
Documentation edits made through Mintlify web editor
1 parent abe76ea commit 2e3857e

File tree

1 file changed

+31
-34
lines changed

1 file changed

+31
-34
lines changed

settings/navigation.mdx

Lines changed: 31 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ documentation. They show up above the main sidebar.
1212

1313
<Frame>
1414
<img className="block dark:hidden rounded-md" src="/images/tabs-light.png" />
15+
1516
<img className="hidden dark:block rounded-md" src="/images/tabs-dark.png" />
1617
</Frame>
1718

@@ -52,10 +53,8 @@ Anchors provide another way to direct users to sections of your documentation,
5253
or link out to external URLs.
5354

5455
<Frame>
55-
<img
56-
className="block dark:hidden rounded-md"
57-
src="/images/anchor-light.png"
58-
/>
56+
<img className="block dark:hidden rounded-md" src="/images/anchor-light.png" />
57+
5958
<img className="hidden dark:block rounded-md" src="/images/anchor-dark.png" />
6059
</Frame>
6160

@@ -136,7 +135,7 @@ Create groups by recursively nesting a group within a group.
136135

137136
Simply put your MDX files in folders and update the paths in `mint.json`.
138137

139-
For example, to have a page at `https://yoursite.com/your-folder/your-page` you
138+
For example, to have a page at [`https://yoursite.com/your-folder/your-page`](https://yoursite.com/your-folder/your-page) you
140139
would make a folder called `your-folder` containing an MDX file called
141140
`your-page.mdx`.
142141

@@ -148,31 +147,29 @@ would make a folder called `your-folder` containing an MDX file called
148147
</Warning>
149148

150149
<CodeGroup>
151-
152-
```json Navigation With Folder
153-
"navigation": [
154-
{
155-
"group": "Group Name",
156-
"pages": ["your-folder/your-page"]
157-
}
158-
]
159-
```
160-
161-
```json Nested Navigation
162-
"navigation": [
163-
{
164-
"group": "Getting Started",
165-
"pages": [
166-
"quickstart",
167-
{
168-
"group": "Nested Reference Pages",
169-
"pages": ["nested-reference-page"]
170-
}
171-
]
172-
}
173-
]
174-
```
175-
150+
```json Navigation With Folder
151+
"navigation": [
152+
{
153+
"group": "Group Name",
154+
"pages": ["your-folder/your-page"]
155+
}
156+
]
157+
```
158+
159+
```json Nested Navigation
160+
"navigation": [
161+
{
162+
"group": "Getting Started",
163+
"pages": [
164+
"quickstart",
165+
{
166+
"group": "Nested Reference Pages",
167+
"pages": ["nested-reference-page"]
168+
}
169+
]
170+
}
171+
]
172+
```
176173
</CodeGroup>
177174

178175
### Hidden Pages
@@ -208,17 +205,17 @@ The `topbarLinks` field supports the following fields: `name`, `url`.
208205

209206
### CTA Button
210207

211-
Customize the call-to-action (CTA) button in the topbar using the `topbarCTA`
208+
Customize the call-to-action (CTA) button in the topbar using the `topbarCtaButton`
212209
field.
213210

214211
<Frame>
215212
<img className="block rounded-md" src="/images/topbar-cta-get-started.png" />
216213
</Frame>
217214

218-
The `topbarCTA` field supports the following fields: `name`, `url`, and `type`.
215+
The `topbarCtaButton` field supports the following fields: `name`, `url`, `type`, `style`, and `arrow`. For more information on the options for these fields, see the [mint.json schema](settings/global#structure).
219216

220217
```json
221-
"topbarCTA": {
218+
"topbarCtaButton": {
222219
"name": "Get Started",
223220
"url": "https://mintlify.com/get-started"
224221
}
@@ -238,4 +235,4 @@ repository. Use the `topbarCtaButton` field with the `type` set to `github`.
238235
"type": "github",
239236
"url": "https://github.com/mintlify/docs"
240237
}
241-
```
238+
```

0 commit comments

Comments
 (0)