0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos: remove all uses of lib.mdDoc

these changes were generated with nixq 0.0.2, by running

  nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix

two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.

Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
This commit is contained in:
stuebinm 2024-04-13 14:54:15 +02:00 committed by Jonathan Ringer
parent 1dd996e59a
commit 6afb255d97
1701 changed files with 13694 additions and 13865 deletions

View file

@ -15,18 +15,18 @@ in
name = mkOption {
type = str;
example = "sleep";
description = lib.mdDoc "Name of the script.";
description = "Name of the script.";
};
script = mkOption {
type = str;
example = "sleep 5";
description = lib.mdDoc "Shell script to execute when metrics are requested.";
description = "Shell script to execute when metrics are requested.";
};
timeout = mkOption {
type = nullOr int;
default = null;
example = 60;
description = lib.mdDoc "Optional timeout for the script in seconds.";
description = "Optional timeout for the script in seconds.";
};
};
});
@ -37,7 +37,7 @@ in
];
}
'';
description = lib.mdDoc ''
description = ''
All settings expressed as an Nix attrset.
Check the official documentation for the corresponding YAML