Skip to content

Commit 070cb25

Browse files
committed
break out options into separate params
1 parent 4f6f85d commit 070cb25

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

fern/products/docs/pages/customization/what-is-docs-yml.mdx

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -288,12 +288,27 @@ navbar-links:
288288
</ParamField>
289289

290290
<ParamField path="links" type="list of objects" required={false} toc={true}>
291-
Array of link objects to display in the dropdown menu. This field is used when `type` is set to `dropdown`. Each link object can have the following properties:
292-
- `text` (string): The text to display for the link
293-
- `href` (string): The URL the link points to
294-
- `icon` (string): Optional [Font Awesome icon](https://fontawesome.com/icons) to display to the left of the text
295-
- `rightIcon` (string): Optional [Font Awesome icon](https://fontawesome.com/icons) to display to the right of the text
296-
- `rounded` (boolean): When `true`, the link will have fully rounded borders
291+
Items to display in the dropdown menu when `type` is set to `dropdown`.
292+
</ParamField>
293+
294+
<ParamField path="links.text" type="string" required={false} toc={true}>
295+
The text to display for the link.
296+
</ParamField>
297+
298+
<ParamField path="links.href" type="string" required={false} toc={true}>
299+
The URL the link points to.
300+
</ParamField>
301+
302+
<ParamField path="links.icon" type="string" required={false} toc={true}>
303+
[Font Awesome icon](https://fontawesome.com/icons) that displays to the left of the text.
304+
</ParamField>
305+
306+
<ParamField path="links.rightIcon" type="string" required={false} toc={true}>
307+
[Font Awesome icon](https://fontawesome.com/icons) that displays to the right of the text
308+
</ParamField>
309+
310+
<ParamField path="links.rounded" type="boolean" required={false} default={false} toc={true}>
311+
When `true`, the link will have fully rounded borders.
297312
</ParamField>
298313

299314
## Footer links configuration

0 commit comments

Comments
 (0)