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
Copy file name to clipboardExpand all lines: pages.mdx
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Pages"
3
3
description: "Pages are the building blocks of your documentation"
4
-
icon: 'letter-text'
4
+
icon: "letter-text"
5
5
---
6
6
7
7
## Basics
@@ -39,7 +39,7 @@ sidebarTitle: "Short title"
39
39
40
40
## Icons
41
41
42
-
You can set an icon for your sidebar item like the one for this page. You can set icons by using the `icon`metadata.
42
+
Add an icon next to your page's sidebar title by including the `icon`field in your page's frontmatter.
43
43
44
44
```mdx
45
45
---
@@ -48,9 +48,9 @@ icon: "code"
48
48
---
49
49
```
50
50
51
-
You can set icons from [Font Awesome](https://fontawesome.com/icons) and[Lucide](https://lucide.dev/icons), depending on the [icon library setting](settings#param-icons).
51
+
You can set icons from a URL, [Font Awesome](https://fontawesome.com/icons), or[Lucide](https://lucide.dev/icons). Choose your preferred icon library (Font Awesome or Lucide) with the [icon library setting](settings#param-icons).
52
52
53
-
You can also set the icon type for Font Awesome icons (optional). If not set, the icon type will be regular.
53
+
For Font Awesome icons, you can optionally set the icon type. If not set, the icon type will be regular.
54
54
55
55
```mdx
56
56
---
@@ -116,7 +116,6 @@ Custom Mode provides a minimalist layout by removing all elements except for the
116
116
This mode offers a blank canvas, which is ideal for creating a "landing page" or any page where
117
117
you want a clean, distraction-free environment.
118
118
119
-
120
119
```mdx
121
120
---
122
121
mode: "custom"
@@ -128,7 +127,6 @@ mode: "custom"
128
127
Center Mode removes the sidebar and the table of contents, and centers the page content. This mode is great for changelogs
129
128
or any page where you want to focus on the content.
130
129
131
-
132
130
```mdx
133
131
---
134
132
mode: "center"
@@ -172,4 +170,4 @@ content or in search results, but users that search for them will be shown the p
0 commit comments