lib/options: remove mdDoc

Following through on message itself.
This commit is contained in:
Wolfgang Walther 2024-11-17 11:05:34 +01:00
parent 14ac480f28
commit 73df63f8ef
No known key found for this signature in database
GPG key ID: B39893FA5F65CAE1
3 changed files with 1 additions and 18 deletions

View file

@ -111,18 +111,8 @@
# instead of printing warnings for eg options with missing descriptions (which may be lost
# by nix build unless -L is given), emit errors instead and fail the build
, warningsAreErrors ? true
# allow docbook option docs if `true`. only markdown documentation is allowed when set to
# `false`, and a different renderer may be used with different bugs and performance
# characteristics but (hopefully) indistinguishable output.
# deprecated since 23.11.
# TODO remove in a while.
, allowDocBook ? false
# TODO remove in a while (see https://github.com/NixOS/nixpkgs/issues/300735)
, markdownByDefault ? true
}:
assert markdownByDefault && ! allowDocBook;
let
rawOpts = lib.optionAttrSetToDocList options;
transformedOpts = map transformOptions rawOpts;