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:
committed by
Jonathan Ringer
parent
1dd996e59a
commit
6afb255d97
@@ -17,7 +17,7 @@ with lib;
|
||||
user = "password";
|
||||
};
|
||||
'';
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Basic Auth protection for a vhost.
|
||||
|
||||
WARNING: This is implemented to store the password in plain text in the
|
||||
@@ -28,7 +28,7 @@ with lib;
|
||||
basicAuthFile = mkOption {
|
||||
type = types.nullOr types.path;
|
||||
default = null;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Basic Auth password file for a vhost.
|
||||
Can be created via: {command}`htpasswd -c <filename> <username>`.
|
||||
|
||||
@@ -41,7 +41,7 @@ with lib;
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
example = "http://www.example.org/";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Adds proxy_pass directive and sets recommended proxy headers if
|
||||
recommendedProxySettings is enabled.
|
||||
'';
|
||||
@@ -51,7 +51,7 @@ with lib;
|
||||
type = types.bool;
|
||||
default = false;
|
||||
example = true;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Whether to support proxying websocket connections with HTTP/1.1.
|
||||
'';
|
||||
};
|
||||
@@ -60,7 +60,7 @@ with lib;
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
example = "index.php index.html";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Adds index directive.
|
||||
'';
|
||||
};
|
||||
@@ -69,7 +69,7 @@ with lib;
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
example = "$uri =404";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Adds try_files directive.
|
||||
'';
|
||||
};
|
||||
@@ -78,7 +78,7 @@ with lib;
|
||||
type = types.nullOr types.path;
|
||||
default = null;
|
||||
example = "/your/root/directory";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Root directory for requests.
|
||||
'';
|
||||
};
|
||||
@@ -87,7 +87,7 @@ with lib;
|
||||
type = types.nullOr types.path;
|
||||
default = null;
|
||||
example = "/your/alias/directory";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Alias directory for requests.
|
||||
'';
|
||||
};
|
||||
@@ -96,7 +96,7 @@ with lib;
|
||||
type = with types; nullOr (oneOf [ str int ]);
|
||||
default = null;
|
||||
example = "301 http://example.com$request_uri";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Adds a return directive, for e.g. redirections.
|
||||
'';
|
||||
};
|
||||
@@ -104,7 +104,7 @@ with lib;
|
||||
fastcgiParams = mkOption {
|
||||
type = types.attrsOf (types.either types.str types.path);
|
||||
default = {};
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
FastCGI parameters to override. Unlike in the Nginx
|
||||
configuration file, overriding only some default parameters
|
||||
won't unset the default values for other parameters.
|
||||
@@ -114,7 +114,7 @@ with lib;
|
||||
extraConfig = mkOption {
|
||||
type = types.lines;
|
||||
default = "";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
These lines go to the end of the location verbatim.
|
||||
'';
|
||||
};
|
||||
@@ -122,7 +122,7 @@ with lib;
|
||||
priority = mkOption {
|
||||
type = types.int;
|
||||
default = 1000;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Order of this location block in relation to the others in the vhost.
|
||||
The semantics are the same as with `lib.mkOrder`. Smaller values have
|
||||
a greater priority.
|
||||
@@ -133,7 +133,7 @@ with lib;
|
||||
type = types.bool;
|
||||
default = config.services.nginx.recommendedProxySettings;
|
||||
defaultText = literalExpression "config.services.nginx.recommendedProxySettings";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Enable recommended proxy settings.
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user