You can now control how search results are ranked and filtered for sites with multiple products or versions using the new settings.search object in docs.yml.
prioritize-current-product boosts results from the current product higher in the ranking without hiding other products.default-filter-by-current-product auto-selects the current product as a facet filter so only current-product results appear by default.These options can be used independently or together.
Interactive API components now render as fenced code blocks and structured content in your site’s Markdown output. AI agents consuming your docs via .md URLs, llms.txt, or llms-full.txt receive the full request and response examples without parsing HTML, reducing content disparity between the rendered page and its Markdown representation.
This applies to the following components:
<EndpointRequestSnippet><EndpointResponseSnippet><EndpointSchemaSnippet><RunnableEndpoint><WebhookPayloadSnippet><Schema><SchemaSnippet>You can now check for broken links on your live documentation site directly from the Fern CLI with fern docs link check. The command scrapes every page on your published site, checks all internal and external links, and reports broken (404) and blocked (403) URLs along with the source pages where they appear.
This complements the existing broken-links rule in fern check, which validates internal links against your local YAML navigation tree. Use fern docs link check after publishing to catch live 404s and broken external URLs that local validation can’t detect.
You can now serve your own robots.txt at the root of your documentation site by pointing agents.robots-txt at a file in your repo. Use this to opt in or out of specific AI crawlers like GPTBot or ClaudeBot, gate sensitive sections from indexing, or signal training and search preferences with the Cloudflare Content Signals Policy. Your file is served verbatim at /robots.txt, and Fern appends a managed block disallowing internal API routes after your content.
Multi-source docs lets each team publish independently to a shared custom domain — for example, docs.nvidia.com spans sub-paths like /nvcf, /brev, and /aiperf, each owned by a different product team and repository.
Set multi-source: true on the instance and reference a global theme for consistent branding across repositories.
AI 代理、MCP 客户端和 API 目录爬虫现在可以自动发现您的 API。每个 Fern Docs 站点都会暴露一个基于标准的(RFC 9727)/.well-known/api-catalog 端点,该端点从您可见的 API 参考导航生成。
您现在可以将 <Prompt> 操作指向任何 AI 工具,而不仅仅是 Cursor、Claude 和 ChatGPT。将读者引导到 Perplexity、您自己的内部 AI 助手或任何其他 URL。
从我的 OpenAPI 规范生成 TypeScript SDK。请遵循 [TypeScript SDK 快速开始](https://buildwithfern.com/learn/sdks/generators/typescript/quickstart.md)。GitHub Actions 预览工作流 现在有一个可选的配套 cleanup-preview.yml 工作流,可以在 PR 合并后删除拉取请求的预览部署,这样过期的预览就不会留存。
要采用此工作流,请在现有预览工作流旁边添加 .github/workflows/cleanup-preview.yml。
更新的 GitLab CI/CD 流水线现在包含一个 cleanup_preview 阶段,在合并请求合并到默认分支后删除该 MR 的预览部署,避免陈旧的预览残留。
要采用此工作流程,请用更新的版本替换您的 .gitlab-ci.yml 文件。