Hiding content in your site
Fern provides two settings for hiding content: hidden: true (set in docs.yml) removes pages, sections, or versions from the sidebar, and noindex: true (set in page frontmatter) removes pages from search engines and llms.txt.
Hiding a page
For individual pages, you’ll typically want both settings together. If a page doesn’t belong in your sidebar, it likely shouldn’t appear in search results either — for example, deprecated content, internal references, or partner-specific guides.
noindex: true without hidden to keep a page in the sidebar while hiding it from search results — useful for early-access documentation you don’t want indexed yet. For more SEO-related options, see SEO metadata.Set hidden: true in docs.yml and noindex: true in the page’s frontmatter:
Hiding a section or version
You can also hide an entire section or version from the sidebar — for example, a legacy API version or a section of internal tooling docs.
All pages within the hidden section or version remain accessible by URL and indexed by search engines. To also exclude individual pages from search engines, add noindex: true to each page’s frontmatter.
