Skip to main content
The navigation menu is the list of links on every website. You will likely update docs.json every time you add a new page. Pages do not show up automatically. The navigation syntax is recursive, which means you can create nested navigation groups. You don’t need to include .mdx in page names.

Folders

Put your MDX files in folders and update the paths in docs.json. For example, to have a page at https://yoursite.com/your-folder/your-page, create a folder called your-folder that contains an MDX file called your-page.mdx.
You cannot use api for the name of a folder unless you nest it inside another folder. Mintlify uses Next.js which reserves the top-level api folder for internal server calls. You can use a folder name such as api-reference.
Navigation With Folder

Hidden pages

MDX files that you don’t include in docs.json don’t appear in the sidebar. Readers can still find them through the search bar or open them from a direct link.