navigation field of your docs.json file. It controls what appears in the sidebar, in what order, and how pages are grouped. Every page you want visible to users must be listed here — pages omitted from navigation are hidden from the sidebar but still accessible via direct URL and search.
How navigation works
Each entry innavigation points to an MDX file by its path relative to the repository root, without the .mdx extension. For example, a file at guides/quickstart.mdx is referenced as "guides/quickstart".
Mintlify supports several navigation patterns. The most common are groups (a single section with organized pages) and tabs (multiple top-level sections that switch the sidebar content). Choose the pattern that fits how your content is organized.
Basic navigation with groups
Use groups to organize pages into labeled sections within a single sidebar. This is the right choice for most docs sites.docs.json
group name and a pages array. You can optionally add an icon from the Lucide or Font Awesome icon libraries.
Navigation with tabs
Use tabs when your docs have distinct sections for different audiences or content types — for example, a user guide and an API reference. Each tab gets its own sidebar.docs.json
Nested navigation
You can nest groups inside apages array to create sub-sections within a group. Nested groups are collapsed by default.
docs.json
"expanded": true on a nested group to have it open by default. Top-level groups are always expanded.
Using folders
Organize your MDX files into folders to keep the repository tidy. The folder structure does not need to match the navigation structure — you can arrange groups and pages in any order regardless of where the files live on disk. A common pattern is to mirror the folder structure in navigation:docs.json
Hidden pages
Any MDX file not listed innavigation is hidden from the sidebar but remains accessible by direct URL and through the search bar. Use this for pages that should exist but not be prominently linked — for example, changelogs, legal pages, or draft content.
You can also explicitly mark a page as hidden using the hidden frontmatter field:
Files placed in the
snippets/ directory are never rendered as standalone pages. They are only used as imported components within other MDX files.