mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +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:
parent
1dd996e59a
commit
6afb255d97
1701 changed files with 13694 additions and 13865 deletions
|
@ -15,12 +15,12 @@ let
|
|||
|
||||
in {
|
||||
options.services.darkhttpd = with types; {
|
||||
enable = mkEnableOption (lib.mdDoc "DarkHTTPd web server");
|
||||
enable = mkEnableOption "DarkHTTPd web server";
|
||||
|
||||
port = mkOption {
|
||||
default = 80;
|
||||
type = types.port;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Port to listen on.
|
||||
Pass 0 to let the system choose any free port for you.
|
||||
'';
|
||||
|
@ -29,7 +29,7 @@ in {
|
|||
address = mkOption {
|
||||
default = "127.0.0.1";
|
||||
type = str;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Address to listen on.
|
||||
Pass `all` to listen on all interfaces.
|
||||
'';
|
||||
|
@ -37,7 +37,7 @@ in {
|
|||
|
||||
rootDir = mkOption {
|
||||
type = path;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Path from which to serve files.
|
||||
'';
|
||||
};
|
||||
|
@ -45,7 +45,7 @@ in {
|
|||
hideServerId = mkOption {
|
||||
type = bool;
|
||||
default = true;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Don't identify the server type in headers or directory listings.
|
||||
'';
|
||||
};
|
||||
|
@ -53,7 +53,7 @@ in {
|
|||
extraArgs = mkOption {
|
||||
type = listOf str;
|
||||
default = [];
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Additional configuration passed to the executable.
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue