guides/hidden-page.mdx, visitors can reach it at docs.yoursite.com/guides/hidden-page.
Use hidden pages for content you want users to access or reference as context for AI tools, but don’t want listed in the navigation.
If your content requires strict access control, you must configure authentication.
To restrict pages to specific user groups, set up group-based access control.
See an example of a hidden page.
Some navigation elements like sidebars, dropdowns, and tabs may appear empty or shift layout on hidden pages.
Hide a page
To hide a page, sethidden: true in the page’s frontmatter or remove it from your docs.json navigation.
Set hidden: true in frontmatter
Add hidden: true to a page’s frontmatter to remove it from the rendered navigation while still including it in your docs.json configuration.
hidden: true. See Disable indexing for more information.
Remove the page from navigation
If you don’t include a page in yourdocs.json navigation, you hide it. This method works well for pages that you don’t want to appear in navigation at all.
Hide a group of pages
To hide a group of pages, set thehidden property to true for the group in your docs.json file:
Getting started group is hidden and the Guides group is visible.
Hide a tab
To hide a tab, add thehidden property for the tab in your docs.json file:
Search, SEO, and AI indexing
By default, hidden pages don’t appear in indexing for search engines, documentation site search, or as AI assistant context. To include hidden pages in search results and assistant context, add theseo property to your docs.json:
noindex: true to its frontmatter.