Skip to navigation

Changelog

PHP filter for llms.txt and Markdown output

You can now pass lang=php to /llms.txt and to per-page .md and .mdx URLs to return only PHP SDK code examples. php joins node, python, java, ruby, go, csharp, and swift as accepted values for the lang query parameter.

Example
/llms.txt?lang=php
/plants/create-plant.md?lang=php
Read the docs
ai

Exclude changelogs from llms.txt

You can now omit changelog sections from llms.txt by adding the excludeChangelog=true query parameter. This keeps the index small for sites with long release histories. It combines with the existing lang and excludeSpec parameters, for example /llms.txt?lang=python&excludeSpec=true&excludeChangelog=true.

Read the docs
ai

More page suggestions in agent 404 responses

Requests for a nonexistent .md URL now return up to five “Similar pages” suggestions instead of three, so agents on large sites are more likely to find the page they were looking for.

Read the docs
ai

Site-level changelog for multi-product sites

Multi-product sites can now have a single changelog shared by every product. Add a top-level changelog key in docs.yml next to products and the changelog is served at /changelog, without a product slug prefix and without appearing in the product switcher. This replaces the workaround of a dedicated “Changelog” product hidden with CSS.

docs.yml
products:
- display-name: Ferns
path: ./products/ferns.yml
- display-name: Cacti
path: ./products/cacti.yml
changelog:
navigationdocs.yml

Reference API specs directly from docs.yml

You can now point an api navigation item straight at your OpenAPI, AsyncAPI, or GraphQL specification files with a specs list, without creating a generators.yml. Each entry takes a type and a path (relative to the configuration file), plus optional overrides, overlays, and namespace. Existing api-name setups are unchanged.

docs.yml
navigation:
- api: API Reference
specs:
- type: openapi
path: ./openapi.yml
api-referencedocs.yml

Custom Ask Fern disclaimer

You can now replace the default Ask Fern disclaimer (“Responses are generated using AI and may contain mistakes.”) with your own wording. Set ai-search.disclaimer in docs.yml and the text appears beneath answers in the chat panel, standalone modal, mobile drawer, and search widget, so the disclaimer can match your legal or privacy requirements.

docs.yml
ai-search:
disclaimer: Answers are generated by a third-party AI model and may be inaccurate.
aidocs.yml

Playground-only authentication descriptions

You can now add auth instructions that appear only in the API Explorer, such as where to generate a token, without changing the Authorization description in your API Reference. Set x-fern-playground-description on a security scheme in your OpenAPI spec, or playground-docs on an auth scheme in a Fern Definition. The text renders as an info callout beneath the matching auth input and supports links, inline code, and paragraphs.

api-reference

Custom search metadata for faceting

You can now attach your own key-value metadata to a page with the search-metadata frontmatter object. Fern copies the block onto every Algolia record for that page and declares each key for faceting, so a custom search integration can group and filter results by your own taxonomy.

Read the docs
searchfrontmatter

Per-deployment values in self-hosted docs

A self-hosted container can now resolve environment variables in the pages it serves, on each request. A ${VAR} whose name is listed in FERN_RUNTIME_ENV_VARS is deferred past generation instead of being substituted with its build-time value, so one image serves deployments that differ only in those values.

Read the docs
self-hostedcustomization

Fern Agent automations

You can now put Fern Agent on a schedule. Create an automation on the Automations page in the Fern Dashboard. You can also describe the recurring work in the chat panel or Slack, and Fern Agent will set up an automation for you. Automations can review your reader feedback, unanswered Ask Fern questions, search queries, or analytics, report back what it found, and open a pull request when the prompt asks for a change.

ai

GraphQL types in API References

GraphQL API References now include a page for every named type in your schema, collected under a Types section at the API Reference root and grouped by kind: Objects, Inputs, Enums, Scalars, Interfaces, and Unions. Interface pages list the interface’s fields and the types that implement it.

Read the docs
api-reference

Card images in Fern Editor

You can now configure a Card’s image title, link, source, position, and badge directly in Fern Editor. Repo-relative image paths resolve in the Editor, and the preview matches the published Card component.

Read the docs
developer-toolscomponents

GraphQL schemas split across multiple files

You can now generate a single GraphQL API Reference from a schema split across several SDL files, including Apollo Federation subgraphs. List each file as its own spec in generators.yml with the same name, and Fern compiles them into one schema.

Read the docs
api-referencegenerators.yml

Blog layouts for changelogs

You can now present a changelog as a blog, with dated entries rendered as cards in a grid or list, tag filters, search, and author bylines on each post. Use this layout when a changelog functions more like a series of announcement posts than a list of releases. Set layout: blog and blog-layout in the changelog overview frontmatter.

Cards, tag filters, and search on a blog, with author bylines on the post page. Try the live example site.

navigationcustomization

Redirects in separate files

You can now keep redirects in a separate YAML file and reference it from docs.yml. You can also split redirects across multiple files.

docs.yml
redirects: ./redirects.yml
Read the docs
seodocs.yml

Fern Agent

Fern Agent edits your documentation and analyzes your organization’s Fern data. Talk to it in the Fern Dashboard chat panel, or integrate it with your Slack or your coding agent (via MCP) in one click.

Read the docs
ai

Connect your coding agent to Fern over MCP

Fern now hosts a private MCP server for the agent you build your docs with, with full context on Fern’s documentation and configuration — docs.yml syntax, components, CLI commands, and API definitions. It’s scoped to a single organization and returns only what your Fern account can already see: your sites and their configuration, deployment and preview-URL status, traffic and 404 analytics, search queries, Ask Fern conversations, and page feedback. Run fern mcp install to connect Claude Code, Cursor, or Codex to it.

aideveloper-tools

Local library docs generation from git inputs

You can now iterate on library docs locally from git inputs, not just path inputs. fern docs md generate --local reads the library source from the repository at the configured ref and parses it on your machine, so you can preview generated pages without publishing or logging in to Fern.

Read the docs
api-referencelocal-development

Standalone Ask AI sidebar panel

The @fern-api/search-widget package now ships an AskAiChat component: a sidebar panel that answers questions from your documentation inside any React application, like a dashboard or marketing site. The panel becomes a bottom drawer on small screens, and the theme and accentColor props match it to your product.

aisearch

Scroll-synced code walkthroughs

You can build scroll-synced code walkthroughs with the new <ScrollWalkthrough> component. Prose steps flow down the page while a code panel stays pinned beside them, following the reader’s scroll position. Use this component for quickstarts and integration guides where successive steps add to the same few files.

  1. Install the SDK

    Add the Plant Store SDK to your project.

  2. Create the client

    Point the client at your garden with an API key.

    1. Import the client.
    2. Construct it with your API key.
  3. Add a plant

    Create your first plant record. The wateringDays interval drives care reminders.

npm install @plantstore/sdk
components