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: navigation.mdx
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ The [navigation](settings#param-navigation) property in [docs.json](settings) de
9
9
With proper navigation configuration, you can organize your content into a logical hierarchy that makes it easy for users to find exactly what they're looking for.
10
10
11
11
<Info>
12
-
Do not use `api` as a title for any navigation element. The `/api` path is reserved in production and will cause pages to return 404 errors if their URLs contain `/api`.
12
+
Do not use `api` as a title for any navigation element. The `/api` path is reserved in production and will cause pages to return 404 errors if their URLs contain `/api`.
13
13
</Info>
14
14
15
15
## Pages
@@ -45,7 +45,7 @@ Pages is an array where each entry must be a reference to the path of a [page fi
45
45
46
46
## Groups
47
47
48
-
Use groups to organize your navigation into sections. Groups can be nested within each other and labeled with tags.
48
+
Use groups to organize your navigation into sections. Groups can be nested within each other, labeled with tags, and styled with icons.
49
49
50
50
<img
51
51
className="block dark:hidden pointer-events-none"
@@ -63,15 +63,18 @@ Use groups to organize your navigation into sections. Groups can be nested withi
63
63
"groups": [
64
64
{
65
65
"group": "Getting Started",
66
+
"icon": "play",
66
67
"pages": [
67
68
"quickstart",
68
69
{
69
70
"group": "Editing",
71
+
"icon": "pencil",
70
72
"pages": [
71
73
"installation",
72
74
"editor",
73
75
{
74
76
"group": "Nested group",
77
+
"icon": "code",
75
78
"pages": [
76
79
"navigation",
77
80
"code"
@@ -83,6 +86,7 @@ Use groups to organize your navigation into sections. Groups can be nested withi
0 commit comments