0
0
Fork 0
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:
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

@ -14,12 +14,12 @@ let
in {
options.services.hoogle = {
enable = mkEnableOption (lib.mdDoc "Haskell documentation server");
enable = mkEnableOption "Haskell documentation server";
port = mkOption {
type = types.port;
default = 8080;
description = lib.mdDoc ''
description = ''
Port number Hoogle will be listening to.
'';
};
@ -29,7 +29,7 @@ in {
default = hp: [];
defaultText = literalExpression "hp: []";
example = literalExpression "hp: with hp; [ text lens ]";
description = lib.mdDoc ''
description = ''
The Haskell packages to generate documentation for.
The option value is a function that takes the package set specified in
@ -39,7 +39,7 @@ in {
};
haskellPackages = mkOption {
description = lib.mdDoc "Which haskell package set to use.";
description = "Which haskell package set to use.";
type = types.attrs;
default = pkgs.haskellPackages;
defaultText = literalExpression "pkgs.haskellPackages";
@ -47,13 +47,13 @@ in {
home = mkOption {
type = types.str;
description = lib.mdDoc "Url for hoogle logo";
description = "Url for hoogle logo";
default = "https://hoogle.haskell.org";
};
host = mkOption {
type = types.str;
description = lib.mdDoc "Set the host to bind on.";
description = "Set the host to bind on.";
default = "127.0.0.1";
};
@ -61,7 +61,7 @@ in {
type = types.listOf types.str;
default = [];
example = [ "--no-security-headers" ];
description = lib.mdDoc ''
description = ''
Additional command-line arguments to pass to
{command}`hoogle server`
'';