mirror of https://github.com/astral-sh/ruff
docs: add stricter validation options (#12998)
## Summary Applying the same change as done in https://github.com/astral-sh/uv/pull/6096. Note that in `uv` repository, this [broke the docs build](https://github.com/astral-sh/uv/pull/6096#issuecomment-2290151150) because `anchors` is `mdkocs` 1.6+ only, and insiders used 1.5.0 while public dependencies used 1.6.0, but in this repository, both use 1.6.0 ([public](049cda2ff3/docs/requirements.txt (L3)), [insiders](049cda2ff3/docs/requirements-insiders.txt (L3))), so this should not be an issue to have in the template. Contrarily to `uv` repository, no violations were reported here, but this could prevent adding some in the future. ## Test Plan Local run of the documentation + `mkdocs build --strict`.
This commit is contained in:
parent
049cda2ff3
commit
df09045176
|
|
@ -71,3 +71,8 @@ not_in_nav: |
|
|||
extra:
|
||||
analytics:
|
||||
provider: fathom
|
||||
validation:
|
||||
omitted_files: warn
|
||||
absolute_links: warn
|
||||
unrecognized_links: warn
|
||||
anchors: warn
|
||||
|
|
|
|||
Loading…
Reference in New Issue