Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 6 additions & 6 deletions navigation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -584,13 +584,13 @@ Style pages with breadcrumbs to display the full navigation path at the top of p
}
```

## Interaction Configuration
## Interaction configuration

Control how users interact with navigation elements using the `interaction` property in your `docs.json`.

### Auto Navigation on Expand
### Enable auto-navigation for groups

Different themes have different default behavior when clicking on navigation groups. You can override this behavior using the `drilldown` option:
When a user expands a navigation group, some themes will automatically navigate to the first page in the group. You can override a theme's default behavior using the `drilldown` option:

```json
{
Expand All @@ -608,9 +608,9 @@ Different themes have different default behavior when clicking on navigation gro
}
```

- Set to `true` to force automatic navigation to the first page when clicking navigation groups
- Set to `false` to prevent navigation and only expand or collapse the group
- Leave unset to use the theme's default behavior
- Set to `true` to force automatic navigation to the first page when a navigation group is selected.
- Set to `false` to prevent navigation and only expand or collapse the group when it is selected.
- Leave unset to use the theme's default behavior.

## FAQ

Expand Down
2 changes: 1 addition & 1 deletion settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

To get started, you only need to specify `theme`, `name`, `colors.primary`, and `navigation`. Other fields are optional and you can add them as your documentation needs grow.

For the best editing experience, include the schema reference at the top of your `docs.json` file. This enables autocomplete, validation, and helpful tooltips in most code editors:

Check warning on line 18 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L18

Did you really mean 'tooltips'?

```json
{
Expand Down Expand Up @@ -451,7 +451,7 @@

<Expandable title="Interaction">
<ResponseField name="drilldown" type="boolean">
Control automatic navigation behavior when clicking on navigation groups. Set to `true` to force navigation to the first page when expanding groups, `false` to only expand/collapse without navigation, or leave unset to use the theme's default behavior.
Control automatic navigation behavior when selecting navigation groups. Set to `true` to force navigation to the first page when a navigation group is expanded. Set to `false` to prevent navigation and only expand or collapse the group. Leave unset to use the theme's default behavior.
</ResponseField>
</Expandable>
</ResponseField>
Expand Down