November 2, 2025

导航栏下拉菜单

在导航栏中使用新的下拉菜单来分组相关链接。将资源、工具或外部链接组织在单个按钮下,保持页头简洁。

docs.yml
1navbar-links:
2 - type: dropdown
3 text: Resources # dropdown button text
4 icon: fa-solid fa-seedling # optional icon
5 links:
6 - text: Plant database # link display text
7 href: https://example.com/plants # destination URL
8 icon: fa-regular fa-leaf # optional icon
9 - text: Growing guides
10 href: https://example.com/guides
阅读文档

API Explorer 直接请求

现在您可以直接向您的 API 发送 API Explorer 请求,而不是通过 Fern 的代理。这对于测试跨域资源共享(CORS)配置和调试身份验证流程很有用。

docs.yml
1settings:
2 disable-explorer-proxy: true

您的 API 必须启用 CORS 以允许来自文档域的请求。

阅读文档