lib: clarify warning about mdDoc

This commit is contained in:
éclairevoyant 2024-04-15 09:33:39 -04:00
parent bb4e822d1f
commit a2a0316319
No known key found for this signature in database
GPG key ID: E3813AEAA02DB54B

View file

@ -404,7 +404,7 @@ rec {
Kept here to alert downstream users who may not be aware of the migration's Kept here to alert downstream users who may not be aware of the migration's
completion that it should be removed from modules. completion that it should be removed from modules.
*/ */
mdDoc = lib.warn "lib.mdDoc was removed from nixpkgs. Option descriptions are now in Markdown by default, you can remove any remaining uses of it."; mdDoc = lib.warn "lib.mdDoc will be removed from nixpkgs in 24.11. Option descriptions are now in Markdown by default; you can remove any remaining uses of lib.mdDoc.";
/* For use in the `defaultText` and `example` option attributes. Causes the /* For use in the `defaultText` and `example` option attributes. Causes the
given MD text to be inserted verbatim in the documentation, for when given MD text to be inserted verbatim in the documentation, for when