Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion navigation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
alt=""
/>

In the `navigation` object, `groups` is an array where each entry is an object that requires a `group` field and a `pages` field. The `icon` and `tag` fields are optional.
In the `navigation` object, `groups` is an array where each entry is an object that requires a `group` field and a `pages` field. The `icon`, `tag`, and `expanded` fields are optional.

```json
{
Expand All @@ -66,6 +66,7 @@
{
"group": "Getting started",
"icon": "play",
"expanded": false,
"pages": [
"quickstart",
{
Expand All @@ -92,6 +93,18 @@
}
```

### Default expanded state

Set `expanded: true` on a group to make it expanded by default in the navigation sidebar. This is useful for highlighting important sections or improving discoverability of key content.

Check warning on line 98 in navigation.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

navigation.mdx#L98

Did you really mean 'discoverability'?

```json
{
"group": "Getting started",
"expanded": true,
"pages": ["quickstart", "installation"]
}
```

## Tabs

Tabs create distinct sections of your documentation with separate URL paths. Tabs create a horizontal navigation bar at the top of your documentation that lets users switch between sections.
Expand Down