For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Book a demoLog inStart for free
  • Getting started
    • Overview
    • How it works
    • Quickstart
    • Project structure
    • Customer showcase
    • Changelog
  • Configuration
    • Overview
    • Site-level settings
    • Page-level settings
  • Writing content
    • Markdown basics
    • Rich media in Markdown
    • Fern Editor
    • Reusable snippets
  • AI features
    • Overview
    • Fern Writer
    • AI-generated examples
    • Markdown access
      • Overview
      • Customize LLM output
      • Agent directives
      • Analytics and integration
    • MCP server
    • API catalog discovery
      • Announcement banner
      • Embedded mode
      • Hiding content
      • Search
      • User feedback
      • Custom CSS & JS
      • CSS selectors reference
      • Custom React components
      • Header and footer
      • Global themes
  • Public API
    • GETJWT from Fern API key
    • GETAlgolia search credentials
    • GETCurrent user information
  • Fern Writer API
    • GETGet Fern Writer Install Link
Checking status...
SOC2Soc 2 Type II
© 2026 Fern • Birch Solutions, Inc., a Postman company

Documentation

SDKsDocsAsk FernCLI Reference

API Definitions

OpenAPIAsyncAPIOpenRPCgRPC

Resources

BlogSupportPricing

Company

Brand KitPrivacy PolicyTerms of Service
LogoLogo
Book a demoLog inStart for free
On this page
  • Hiding a page
  • Accessible only by direct URL
  • Excluded from search only
  • Hiding an API endpoint
  • Hiding a section, tab, tab variant, or version
Customization

Hiding content in your site

||View as Markdown|
Was this page helpful?
Edit this page
Previous

Embedded mode

Next

Search configuration

Fern gives you two main tools for controlling content visibility: hidden: true in docs.yml removes content from your site’s sidebar and search results, while noindex: true in page frontmatter excludes a page from search without affecting navigation.

Hiding a page

Accessible only by direct URL

Set hidden: true in docs.yml to remove a page from the sidebar, search results, and llms.txt while keeping it accessible via direct link. This is useful for sharing draft documentation with reviewers or linking from external tools like support tickets. There’s no need to also set noindex — hidden: true handles both automatically.

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
See it in action

This page is hidden from the sidebar and search engines, but you can access it by direct link.

Excluded from search only

Set noindex: true in a page’s frontmatter to exclude it from search engines and llms.txt while keeping it discoverable on your site. This is useful for early access documentation or content you want readers to find through navigation but not through search or AI tools.

early-access-feature.mdx
1---
2title: Early access feature
3noindex: true
4---

For more SEO-related options, see SEO metadata.

Hiding an API endpoint

Set hidden: true in the endpoint’s layout configuration in docs.yml to hide it from the sidebar. Like page-level hidden, hidden endpoints are automatically excluded from search engine indexing so there’s no need to set noindex: true.

docs.yml
1navigation:
2 - api: API Reference
3 layout:
4 - plants:
5 - endpoint: POST /plants/{plantId}
6 hidden: true

For full configuration details including examples for OpenAPI and WebSocket endpoints, see Hiding endpoints.

Hiding a section, tab, tab variant, or version

Hide an entire section, tab, tab variant, or version from navigation — for example, a legacy API version, an internal tab, or a section of internal tooling docs.

Unlike hiding a page or endpoint, hiding a section, tab, tab variant, or version only removes the group from navigation. The individual pages within it remain indexed by search engines and AI because hidden applies to the grouping, not to each page. To also exclude individual pages from search results, add noindex: true to each page’s frontmatter.

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