Hidden pages are removed from your site’s navigation but remain publicly accessible to anyone who knows their URL.

Use hidden pages for content that you want to be accessible on your site or referenced as context for AI tools, but not discoverable through the navigation.

For content requiring strict access control, you must configure authentication.

If you want to hide pages for specific groups of users, use personalization to control page visibility.

Hiding a page

A page is hidden if it is not included in your docs.json navigation. To hide a page, remove it from your navigation structure.

Some navigation elements like sidebars, dropdowns, and tabs may appear empty or shift layout on hidden pages.

Search, SEO, and AI context

By default, hidden pages are excluded from indexing for search engines, internal search within your docs, and as context for the AI assistant. To include hidden pages in search results and as context for the assistant, add the seo property to your docs.json:

"seo": {
    "indexing": "all"
}

To exclude a specific page, add noindex: "true" to its frontmatter.