Hiding content in your site

View as Markdown

To hide a section, page, or version, you can add hidden: true to its configuration. Hidden content is accessible by URL only.

docs.yml
1navigation:
2 - section: Introduction
3 contents:
4 - page: My Page
5 path: ./pages/my-page.mdx
6 - page: Hide and Seek
7 hidden: true
8 path: ./pages/hide-and-seek.mdx
9 - api: API Reference
A site with a hidden page