lib: remove all uses of lib.mdDoc

this change is otherwise a no-op, as lib.mdDoc is already defined to be
the identity function.

stuebinm 46456a92 170e005a

Changed files
+5 -5
lib
+1 -1
lib/default.nix
···
scrubOptionValue literalExpression literalExample
showOption showOptionWithDefLocs showFiles
unknownModule mkOption mkPackageOption mkPackageOptionMD
-
mdDoc literalMD;
inherit (self.types) isType setType defaultTypeMerge defaultFunctor
isOptionType mkOptionType;
inherit (self.asserts)
···
scrubOptionValue literalExpression literalExample
showOption showOptionWithDefLocs showFiles
unknownModule mkOption mkPackageOption mkPackageOptionMD
+
literalMD;
inherit (self.types) isType setType defaultTypeMerge defaultFunctor
isOptionType mkOptionType;
inherit (self.asserts)
+4 -4
lib/modules.nix
···
# TODO: Change the type of this option to a submodule with a
# freeformType, so that individual arguments can be documented
# separately
-
description = lib.mdDoc ''
Additional arguments passed to each module in addition to ones
like `lib`, `config`,
and `pkgs`, `modulesPath`.
···
type = types.bool;
internal = true;
default = true;
-
description = lib.mdDoc "Whether to check whether all option definitions have matching declarations.";
};
_module.freeformType = mkOption {
type = types.nullOr types.optionType;
internal = true;
default = null;
-
description = lib.mdDoc ''
If set, merge all definitions that don't have an associated option
together using this type. The result then gets combined with the
values of all declared options to produce the final `
···
_module.specialArgs = mkOption {
readOnly = true;
internal = true;
-
description = lib.mdDoc ''
Externally provided module arguments that can't be modified from
within a configuration, but can be used in module imports.
'';
···
# TODO: Change the type of this option to a submodule with a
# freeformType, so that individual arguments can be documented
# separately
+
description = ''
Additional arguments passed to each module in addition to ones
like `lib`, `config`,
and `pkgs`, `modulesPath`.
···
type = types.bool;
internal = true;
default = true;
+
description = "Whether to check whether all option definitions have matching declarations.";
};
_module.freeformType = mkOption {
type = types.nullOr types.optionType;
internal = true;
default = null;
+
description = ''
If set, merge all definitions that don't have an associated option
together using this type. The result then gets combined with the
values of all declared options to produce the final `
···
_module.specialArgs = mkOption {
readOnly = true;
internal = true;
+
description = ''
Externally provided module arguments that can't be modified from
within a configuration, but can be used in module imports.
'';