lean4 icon indicating copy to clipboard operation
lean4 copied to clipboard

feat: use linter framework for deferred docstring checks

Open david-christiansen opened this issue 5 months ago • 2 comments

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.

david-christiansen avatar Jun 28 '26 23:06 david-christiansen

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 45e668d09492b90939bd072e3cd1769e9f71893c --onto 84b251f7390c20a0a00a221050ab4a6e6c46a191. You can force Mathlib CI using the force-mathlib-ci label. (2026-06-29 00:12:41)
  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 45e668d09492b90939bd072e3cd1769e9f71893c --onto 89d728b53ccfda77971b5381649d2bbe9eae2039. You can force Mathlib CI using the force-mathlib-ci label. (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-manual branch. Try git rebase 45e668d09492b90939bd072e3cd1769e9f71893c --onto 84b251f7390c20a0a00a221050ab4a6e6c46a191. You can force reference manual CI using the force-manual-ci label. (2026-06-29 00:12:43)
  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase 45e668d09492b90939bd072e3cd1769e9f71893c --onto 89d728b53ccfda77971b5381649d2bbe9eae2039. You can force reference manual CI using the force-manual-ci label. (2026-07-02 07:58:48)

leanprover-bot avatar Jun 29 '26 00:06 leanprover-bot