forked from mirrors/nixpkgs
nixos/make-options-doc: force markdownByDefault
with docbook no longer supported we can default to markdown option docs. we'll keep the parameter around for a bit to not break external users who set it to true. we don't know of any users that do, so the deprecation period may be rather short for this one.
This commit is contained in:
parent
5f35ae16ec
commit
c01244394c
|
@ -43,11 +43,12 @@
|
|||
# TODO remove in a while.
|
||||
, allowDocBook ? false
|
||||
# whether lib.mdDoc is required for descriptions to be read as markdown.
|
||||
# !!! when this is eventually flipped to true, `lib.doRename` should also default to emitting Markdown
|
||||
, markdownByDefault ? false
|
||||
# deprecated since 23.11.
|
||||
# TODO remove in a while.
|
||||
, markdownByDefault ? true
|
||||
}:
|
||||
|
||||
assert ! allowDocBook;
|
||||
assert markdownByDefault && ! allowDocBook;
|
||||
|
||||
let
|
||||
rawOpts = lib.optionAttrSetToDocList options;
|
||||
|
|
Loading…
Reference in a new issue