lean4
lean4 copied to clipboard
feat: use linter framework for deferred docstring checks
This PR adapts the deferred docstring check mechanism to use the linter mechanism, presenting an interface akin to that of environment linters. This replaces custom CI setup with an already-used interface. Deferred checks are governed by the option linter.doc.deferred.
Breaking change: custom Verso docstring elements are now represented by a two-constructor type with cases for ordinary custom elements and deferred check elements.
Mathlib CI status (docs):
- ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the
nightly-with-mathlibbranch. Trygit rebase 45e668d09492b90939bd072e3cd1769e9f71893c --onto 84b251f7390c20a0a00a221050ab4a6e6c46a191. You can force Mathlib CI using theforce-mathlib-cilabel. (2026-06-29 00:12:41) - ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the
nightly-with-mathlibbranch. Trygit rebase 45e668d09492b90939bd072e3cd1769e9f71893c --onto 89d728b53ccfda77971b5381649d2bbe9eae2039. You can force Mathlib CI using theforce-mathlib-cilabel. (2026-07-02 07:58:47)
Reference manual CI status:
- ❗ Reference manual CI will not be attempted unless your PR branches off the
nightly-with-manualbranch. Trygit rebase 45e668d09492b90939bd072e3cd1769e9f71893c --onto 84b251f7390c20a0a00a221050ab4a6e6c46a191. You can force reference manual CI using theforce-manual-cilabel. (2026-06-29 00:12:43) - ❗ Reference manual CI will not be attempted unless your PR branches off the
nightly-with-manualbranch. Trygit rebase 45e668d09492b90939bd072e3cd1769e9f71893c --onto 89d728b53ccfda77971b5381649d2bbe9eae2039. You can force reference manual CI using theforce-manual-cilabel. (2026-07-02 07:58:48)