> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 配置 `fern check` 规则严重性

您现在可以使用 `check.rules` 属性直接在 `docs.yml` 文件中配置 `fern check` 运行的验证规则的严重性。将单个规则设置为 `"warn"`（非阻塞）或 `"error"`（阻塞）来控制哪些检查会使您的构建失败。

**`docs.yml`**

```yaml docs.yml
check:
  rules:
    broken-links: error
    example-validation: warn
```

`--broken-links` 和 `--strict-broken-links` CLI 标志现已弃用，推荐使用此配置。

阅读文档

## AI 搜索升级

Ask Fern 现在运行在 Claude 4.6 Sonnet 上，提供更快、更准确的答案。

阅读文档

## Context7 集成

在您的 Fern 文档站点上托管 [Context7](https://context7.com/) 验证文件。在 `docs.yml` 中添加 `integrations.context7`，指向您的 `context7.json` 文件，Fern 将在您域名的 `/context7.json` 路径提供此文件。

**`docs.yml`**

```yaml docs.yml
integrations:
  context7: ./path/to/context7.json
```

需要 Fern CLI 版本 `4.52.0` 或更高版本。

阅读文档