nixos/*: md-"convert" empty descriptions

for some reason these are not picked up properly by nix-doc-munge, so
we'll do this instead.
This commit is contained in:
pennae 2022-08-29 16:57:18 +02:00
parent 9547123258
commit 515c4727fa
7 changed files with 17 additions and 17 deletions

View File

@ -195,7 +195,7 @@ let
}; };
devices = mkOption { devices = mkOption {
description = ""; description = lib.mdDoc "";
type = types.listOf types.str; type = types.listOf types.str;
}; };

View File

@ -203,7 +203,7 @@ with lib;
type = types.package; type = types.package;
default = pkgs.hadoop; default = pkgs.hadoop;
defaultText = literalExpression "pkgs.hadoop"; defaultText = literalExpression "pkgs.hadoop";
description = ""; description = lib.mdDoc "";
}; };
}; };

View File

@ -70,7 +70,7 @@ let
privileged = mkOption { privileged = mkOption {
type = types.bool; type = types.bool;
example = true; example = true;
description = ""; description = lib.mdDoc "";
}; };
chroot = mkOption { chroot = mkOption {

View File

@ -20,65 +20,65 @@ with lib;
type = types.int; type = types.int;
default = 0; default = 0;
example = 1; example = 1;
description = ""; description = lib.mdDoc "";
}; };
remoteAddress = mkOption { remoteAddress = mkOption {
type = types.str; type = types.str;
example = "tunnel.example.com"; example = "tunnel.example.com";
description = ""; description = lib.mdDoc "";
}; };
localAddress = mkOption { localAddress = mkOption {
type = types.str; type = types.str;
example = "0.0.0.0"; example = "0.0.0.0";
description = ""; description = lib.mdDoc "";
}; };
localPort = mkOption { localPort = mkOption {
type = types.int; type = types.int;
default = 2998; default = 2998;
description = ""; description = lib.mdDoc "";
}; };
remotePort = mkOption { remotePort = mkOption {
type = types.int; type = types.int;
default = 2998; default = 2998;
description = ""; description = lib.mdDoc "";
}; };
remoteFloat = mkOption { remoteFloat = mkOption {
type = types.int; type = types.int;
default = 0; default = 0;
description = ""; description = lib.mdDoc "";
}; };
protocol = mkOption { protocol = mkOption {
type = types.str; type = types.str;
default = "nacltai"; default = "nacltai";
description = ""; description = lib.mdDoc "";
}; };
privateKey = mkOption { privateKey = mkOption {
type = types.str; type = types.str;
description = ""; description = lib.mdDoc "";
}; };
publicKey = mkOption { publicKey = mkOption {
type = types.str; type = types.str;
description = ""; description = lib.mdDoc "";
}; };
timeWindow = mkOption { timeWindow = mkOption {
type = types.int; type = types.int;
default = 5; default = 5;
description = ""; description = lib.mdDoc "";
}; };
upScript = mkOption { upScript = mkOption {
type = types.lines; type = types.lines;
default = ""; default = "";
description = ""; description = lib.mdDoc "";
}; };
}; };
}); });

View File

@ -105,7 +105,7 @@ in
flags = mkOption { flags = mkOption {
type = types.str; type = types.str;
default = ""; default = "";
description = ""; description = lib.mdDoc "";
}; };
unlisted = mkOption { unlisted = mkOption {

View File

@ -71,7 +71,7 @@ in
options.incomplete-dir-enabled = mkOption { options.incomplete-dir-enabled = mkOption {
type = types.bool; type = types.bool;
default = true; default = true;
description = ""; description = lib.mdDoc "";
}; };
options.message-level = mkOption { options.message-level = mkOption {
type = types.ints.between 0 3; type = types.ints.between 0 3;

View File

@ -58,7 +58,7 @@ in
version = mkOption { version = mkOption {
default = 2; default = 2;
type = types.enum [ 0 1 2 3 4 ]; type = types.enum [ 0 1 2 3 4 ];
description = ""; description = lib.mdDoc "";
}; };
uboot = { uboot = {