HTTP Snippets now enabled by default

HTTP snippets are now enabled by default for all documentation sites, making it easier for developers to see cURL, Python, Ruby, and other HTTP client examples directly in your API reference. Previously, this feature required internal configuration to activate.

You can now control HTTP snippets directly in your docs.yml file:

docs.yml
1# Turn off HTTP snippets
2settings:
3 http-snippets: false
4
5# Or specify only certain languages
6settings:
7 http-snippets:
8 - python
9 - ruby

Visit the HTTP snippets documentation to learn more.

Introducing Runnable Endpoint

Test API endpoints directly from your documentation with our new interactive component. Runnable Endpoint allows your users to send real HTTP requests to your API without leaving your docs, making it easier for developers to explore and understand your API.

Runnable Endpoint component

Embed the component anywhere in your MDX documentation to create an interactive request builder with form inputs for headers, path parameters, query parameters, and request bodies. Users can execute requests and see real-time responses, complete with status codes and syntax highlighting.

Key features include:

  • Interactive form builder that automatically generates inputs based on your endpoint definition
  • Multiple examples support with a dropdown selector when you have multiple pre-configured scenarios
  • Environment selector for testing against production, staging, or development
  • Form persistence that saves user input in local storage across sessions
  • Direct navigation to the full API reference with an “Open in API reference” button

To learn more about using Runnable Endpoints in your documentation, visit the Runnable Endpoint docs.


Introducing The Product Switcher

Organize your docs by product so developers can find what they need quickly. Perfect for companies with multiple APIs, each with their own references, guides, versions, and changelogs.

Features:

  • Optimized for Search with SEO-friendly structure.
  • Keyword and AI Search functionality works both within and across products.
  • Customizable to your products with versions and unique icons to reflect your brand identity.

A dropdown of the available products

To add products to your docs, visit the product switcher docs page to get started.


Table of contents customization

We’ve added a max-toc-depth frontmatter option to control the depth of the table of contents. Use this to limit the heading ranks included in the table of contents.

You can read more about this feature in the frontmatter documentation.


Improvements to 404 Pages

We now have themed 404 pages for your docs, using your theme colors, fonts, and buttons. We also maintain the best-effort navigation state on this page using the 404 page URL, so that users can easily navigate back to your docs.

404 Page


  • feat: improvements to local preview mode, including support for custom javascript and bug fixes for reloading performance issues.
  • minor bugfixes and improvements to AI search


  • feat(cli): using fern docs dev on the latest CLI will now better reflect the docs in production
  • feat(search): the search UX now uses infinite scroll and allows for searching based on breadcrumb paths
  • fix(ai): small bug fixes to the AI chat experience

  • fix(seo): og and twitter defined in the docs.yml config are now respected
  • fix(auth): authenticated previews have been restored
  • fix(docs): frontmatter titles are now preferred over <h1> tags within the MDX file
  • fix(search): canonical URLs now differentiate between endpoints that share the same method and endpoint name but are defined in APIs of different names


  • fix(openrpc): openrpc playground params are now an array
  • chore(local): beta local development bundle size is decreased by 75%, and now allows users with any machine type to run locally. additionally, custom javascript is now excluded to address bug reports.