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
The configuration is very similar to the tab configuration. We highly recommend that you set an `icon` field as well.
@@ -82,16 +94,27 @@ Valid icon values include all named [Font Awesome](https://fontawesome.com/icons
82
94
}
83
95
```
84
96
97
+
<Note>
98
+
We recommend using anchors in the global settings of `docs.json` to point to external links. For anchors used as the primary navigation structure, you can use `pages` , `openapi`, and `groups`.
Dropdowns show up in the same place as anchors, but are consolidated into a single dropdown.
94
116
We also recommend that you set an icon for each dropdown item (from [Font Awesome](https://fontawesome.com/icons) or [Lucide](https://lucide.dev/icons)).
117
+
95
118
```json docs.json
96
119
"navigation": {
97
120
"dropdowns": [
@@ -121,7 +144,6 @@ We also recommend that you set an icon for each dropdown item (from [Font Awesom
121
144
}
122
145
```
123
146
124
-
125
147
## Nested Hierarchy
126
148
127
149
You can use any combination of anchors, tabs, and dropdowns - either one can be nested within each other interchangeably.
@@ -163,6 +185,7 @@ You can use any combination of anchors, tabs, and dropdowns - either one can be
163
185
}
164
186
```
165
187
188
+
166
189
```json Top-Level Tabs
167
190
{
168
191
"navigation": {
@@ -242,5 +265,4 @@ You can use any combination of anchors, tabs, and dropdowns - either one can be
0 commit comments