Skip to content

Document default property for version navigation#4311

Merged
ethanpalm merged 4 commits into
mainfrom
mintlify/version-default-en-1773188408
Mar 11, 2026
Merged

Document default property for version navigation#4311
ethanpalm merged 4 commits into
mainfrom
mintlify/version-default-en-1773188408

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Mar 11, 2026

Summary

  • Adds documentation for the default boolean property on version objects
  • Explains that by default the first version in the array is used
  • Includes code example showing how to set a different default version

Replaces #4309 (English only as requested).


Note

Low Risk
Low risk documentation-only change that clarifies how the version switcher chooses its default and introduces no runtime or schema behavior changes.

Overview
Adds documentation for a default: true flag on navigation.versions entries to explicitly select the default version instead of always using the first array item.

Updates both organize/navigation.mdx (new Default version section with example) and organize/settings.mdx (documents the default boolean in the versions schema reference) to keep navigation docs and config reference consistent.

Written by Cursor Bugbot for commit 04cd287. This will update automatically on new commits. Configure here.

Comment thread organize/navigation.mdx Outdated
Comment thread organize/settings.mdx Outdated
Copy link
Copy Markdown
Collaborator

@ethanpalm ethanpalm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! just a few small edits to use the word "default" a bit less 😄

@ethanpalm
Copy link
Copy Markdown
Collaborator

ethanpalm commented Mar 11, 2026

fine to ignore the failing test. It's been flaky all day but the preview looks good and nothing in this PR should possibly break anything

@ethanpalm ethanpalm merged commit 682fe3e into main Mar 11, 2026
5 checks passed
@ethanpalm ethanpalm deleted the mintlify/version-default-en-1773188408 branch March 11, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants