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

@@ -66,7 +66,7 @@ in
enable = mkOption {
type = types.bool;
default = false;
description = lib.mdDoc ''
description = ''
Whether to enable the slurm control daemon.
Note that the standard authentication method is "munge".
The "munge" service needs to be provided with a password file in order for
@@ -76,13 +76,13 @@ in
};
dbdserver = {
enable = mkEnableOption (lib.mdDoc "SlurmDBD service");
enable = mkEnableOption "SlurmDBD service";
dbdHost = mkOption {
type = types.str;
default = config.networking.hostName;
defaultText = literalExpression "config.networking.hostName";
description = lib.mdDoc ''
description = ''
Hostname of the machine where `slurmdbd`
is running (i.e. name returned by `hostname -s`).
'';
@@ -92,7 +92,7 @@ in
type = types.str;
default = cfg.user;
defaultText = literalExpression "config.${opt.user}";
description = lib.mdDoc ''
description = ''
Database user name.
'';
};
@@ -100,7 +100,7 @@ in
storagePassFile = mkOption {
type = with types; nullOr str;
default = null;
description = lib.mdDoc ''
description = ''
Path to file with database password. The content of this will be used to
create the password for the `StoragePass` option.
'';
@@ -109,7 +109,7 @@ in
extraConfig = mkOption {
type = types.lines;
default = "";
description = lib.mdDoc ''
description = ''
Extra configuration for `slurmdbd.conf` See also:
{manpage}`slurmdbd.conf(8)`.
'';
@@ -117,13 +117,13 @@ in
};
client = {
enable = mkEnableOption (lib.mdDoc "slurm client daemon");
enable = mkEnableOption "slurm client daemon";
};
enableStools = mkOption {
type = types.bool;
default = false;
description = lib.mdDoc ''
description = ''
Whether to provide a slurm.conf file.
Enable this option if you do not run a slurm daemon on this host
(i.e. `server.enable` and `client.enable` are `false`)
@@ -141,7 +141,7 @@ in
type = types.nullOr types.str;
default = null;
example = null;
description = lib.mdDoc ''
description = ''
The short hostname of the machine where SLURM control functions are
executed (i.e. the name returned by the command "hostname -s", use "tux001"
rather than "tux001.my.com").
@@ -153,7 +153,7 @@ in
default = cfg.controlMachine;
defaultText = literalExpression "config.${opt.controlMachine}";
example = null;
description = lib.mdDoc ''
description = ''
Name that ControlMachine should be referred to in establishing a
communications path.
'';
@@ -163,7 +163,7 @@ in
type = types.str;
default = "default";
example = "myCluster";
description = lib.mdDoc ''
description = ''
Necessary to distinguish accounting records in a multi-cluster environment.
'';
};
@@ -172,7 +172,7 @@ in
type = types.listOf types.str;
default = [];
example = literalExpression ''[ "linux[1-32] CPUs=1 State=UNKNOWN" ];'';
description = lib.mdDoc ''
description = ''
Name that SLURM uses to refer to a node (or base partition for BlueGene
systems). Typically this would be the string that "/bin/hostname -s"
returns. Note that now you have to write node's parameters after the name.
@@ -183,7 +183,7 @@ in
type = types.listOf types.str;
default = [];
example = literalExpression ''[ "debug Nodes=linux[1-32] Default=YES MaxTime=INFINITE State=UP" ];'';
description = lib.mdDoc ''
description = ''
Name by which the partition may be referenced. Note that now you have
to write the partition's parameters after the name.
'';
@@ -192,7 +192,7 @@ in
enableSrunX11 = mkOption {
default = false;
type = types.bool;
description = lib.mdDoc ''
description = ''
If enabled srun will accept the option "--x11" to allow for X11 forwarding
from within an interactive session or a batch job. This activates the
slurm-spank-x11 module. Note that this option also enables
@@ -210,7 +210,7 @@ in
procTrackType = mkOption {
type = types.str;
default = "proctrack/linuxproc";
description = lib.mdDoc ''
description = ''
Plugin to be used for process tracking on a job step basis.
The slurmd daemon uses this mechanism to identify all processes
which are children of processes it spawns for a user job step.
@@ -220,7 +220,7 @@ in
stateSaveLocation = mkOption {
type = types.str;
default = "/var/spool/slurmctld";
description = lib.mdDoc ''
description = ''
Directory into which the Slurm controller, slurmctld, saves its state.
'';
};
@@ -228,7 +228,7 @@ in
user = mkOption {
type = types.str;
default = defaultUser;
description = lib.mdDoc ''
description = ''
Set this option when you want to run the slurmctld daemon
as something else than the default slurm user "slurm".
Note that the UID of this user needs to be the same
@@ -239,7 +239,7 @@ in
extraConfig = mkOption {
default = "";
type = types.lines;
description = lib.mdDoc ''
description = ''
Extra configuration options that will be added verbatim at
the end of the slurm configuration file.
'';
@@ -248,7 +248,7 @@ in
extraPlugstackConfig = mkOption {
default = "";
type = types.lines;
description = lib.mdDoc ''
description = ''
Extra configuration that will be added to the end of `plugstack.conf`.
'';
};
@@ -256,7 +256,7 @@ in
extraCgroupConfig = mkOption {
default = "";
type = types.lines;
description = lib.mdDoc ''
description = ''
Extra configuration for `cgroup.conf`. This file is
used when `procTrackType=proctrack/cgroup`.
'';
@@ -265,7 +265,7 @@ in
extraConfigPaths = mkOption {
type = with types; listOf path;
default = [];
description = lib.mdDoc ''
description = ''
Slurm expects config files for plugins in the same path
as `slurm.conf`. Add extra nix store
paths that should be merged into same directory as
@@ -281,7 +281,7 @@ in
Directory created from generated config files and
`config.${opt.extraConfigPaths}`.
'';
description = lib.mdDoc ''
description = ''
Path to directory with slurm config files. This option is set by default from the
Slurm module and is meant to make the Slurm config file available to other modules.
'';