`validation.links.anchors` に `warn` を設定する。
```yaml
validation:
links:
anchors: warn
```
さらに、[[WARNINGが出ているときにビルドを失敗させる (MkDocs)|WARNINGが出ているときにビルドを失敗させる]]設定をしておけばビルドがいっぱいする。
> - `validation.links.anchors`
> - Doc file 'example.md' contains a link '../foo/bar.md#some-heading', but the doc 'foo/bar.md' does not contain an anchor '#some-heading'.
> - Doc file 'example.md' contains a link '#some-heading', but there is no such anchor on this page.
>
> *[Configuration - MkDocs](https://www.mkdocs.org/user-guide/configuration/#strict)*