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

@ -12,12 +12,12 @@ let
in {
options.services.documize = {
enable = mkEnableOption (lib.mdDoc "Documize Wiki");
enable = mkEnableOption "Documize Wiki";
stateDirectoryName = mkOption {
type = types.str;
default = "documize";
description = lib.mdDoc ''
description = ''
The name of the directory below {file}`/var/lib/private`
where documize runs in and stores, for example, backups.
'';
@ -29,7 +29,7 @@ in {
type = types.nullOr types.str;
default = null;
example = "3edIYV6c8B28b19fh";
description = lib.mdDoc ''
description = ''
The salt string used to encode JWT tokens, if not set a random value will be generated.
'';
};
@ -37,7 +37,7 @@ in {
cert = mkOption {
type = types.nullOr types.str;
default = null;
description = lib.mdDoc ''
description = ''
The {file}`cert.pem` file used for https.
'';
};
@ -45,7 +45,7 @@ in {
key = mkOption {
type = types.nullOr types.str;
default = null;
description = lib.mdDoc ''
description = ''
The {file}`key.pem` file used for https.
'';
};
@ -53,7 +53,7 @@ in {
port = mkOption {
type = types.port;
default = 5001;
description = lib.mdDoc ''
description = ''
The http/https port number.
'';
};
@ -61,7 +61,7 @@ in {
forcesslport = mkOption {
type = types.nullOr types.port;
default = null;
description = lib.mdDoc ''
description = ''
Redirect given http port number to TLS.
'';
};
@ -69,7 +69,7 @@ in {
offline = mkOption {
type = types.bool;
default = false;
description = lib.mdDoc ''
description = ''
Set `true` for offline mode.
'';
apply = v: if true == v then 1 else 0;
@ -78,14 +78,14 @@ in {
dbtype = mkOption {
type = types.enum [ "mysql" "percona" "mariadb" "postgresql" "sqlserver" ];
default = "postgresql";
description = lib.mdDoc ''
description = ''
Specify the database provider: `mysql`, `percona`, `mariadb`, `postgresql`, `sqlserver`
'';
};
db = mkOption {
type = types.str;
description = lib.mdDoc ''
description = ''
Database specific connection string for example:
- MySQL/Percona/MariaDB:
`user:password@tcp(host:3306)/documize`
@ -102,7 +102,7 @@ in {
location = mkOption {
type = types.nullOr types.str;
default = null;
description = lib.mdDoc ''
description = ''
reserved
'';
};