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

@@ -32,10 +32,10 @@ let
in {
options.services.apache-kafka = {
enable = mkEnableOption (lib.mdDoc "Apache Kafka event streaming broker");
enable = mkEnableOption "Apache Kafka event streaming broker";
settings = mkOption {
description = lib.mdDoc ''
description = ''
[Kafka broker configuration](https://kafka.apache.org/documentation.html#brokerconfigs)
{file}`server.properties`.
@@ -51,13 +51,13 @@ in {
options = {
"broker.id" = mkOption {
description = lib.mdDoc "Broker ID. -1 or null to auto-allocate in zookeeper mode.";
description = "Broker ID. -1 or null to auto-allocate in zookeeper mode.";
default = null;
type = with types; nullOr int;
};
"log.dirs" = mkOption {
description = lib.mdDoc "Log file directories.";
description = "Log file directories.";
# Deliberaly leave out old default and use the rewrite opportunity
# to have users choose a safer value -- /tmp might be volatile and is a
# slightly scary default choice.
@@ -66,7 +66,7 @@ in {
};
"listeners" = mkOption {
description = lib.mdDoc ''
description = ''
Kafka Listener List.
See [listeners](https://kafka.apache.org/documentation/#brokerconfigs_listeners).
'';
@@ -78,7 +78,7 @@ in {
};
clusterId = mkOption {
description = lib.mdDoc ''
description = ''
KRaft mode ClusterId used for formatting log directories. Can be generated with `kafka-storage.sh random-uuid`
'';
type = with types; nullOr str;
@@ -86,7 +86,7 @@ in {
};
configFiles.serverProperties = mkOption {
description = lib.mdDoc ''
description = ''
Kafka server.properties configuration file path.
Defaults to the rendered `settings`.
'';
@@ -94,14 +94,14 @@ in {
};
configFiles.log4jProperties = mkOption {
description = lib.mdDoc "Kafka log4j property configuration file path";
description = "Kafka log4j property configuration file path";
type = types.path;
default = pkgs.writeText "log4j.properties" cfg.log4jProperties;
defaultText = ''pkgs.writeText "log4j.properties" cfg.log4jProperties'';
};
formatLogDirs = mkOption {
description = lib.mdDoc ''
description = ''
Whether to format log dirs in KRaft mode if all log dirs are
unformatted, ie. they contain no meta.properties.
'';
@@ -110,7 +110,7 @@ in {
};
formatLogDirsIgnoreFormatted = mkOption {
description = lib.mdDoc ''
description = ''
Whether to ignore already formatted log dirs when formatting log dirs,
instead of failing. Useful when replacing or adding disks.
'';
@@ -119,7 +119,7 @@ in {
};
log4jProperties = mkOption {
description = lib.mdDoc "Kafka log4j property configuration.";
description = "Kafka log4j property configuration.";
default = ''
log4j.rootLogger=INFO, stdout
@@ -131,7 +131,7 @@ in {
};
jvmOptions = mkOption {
description = lib.mdDoc "Extra command line options for the JVM running Kafka.";
description = "Extra command line options for the JVM running Kafka.";
default = [];
type = types.listOf types.str;
example = [
@@ -144,7 +144,7 @@ in {
package = mkPackageOption pkgs "apacheKafka" { };
jre = mkOption {
description = lib.mdDoc "The JRE with which to run Kafka";
description = "The JRE with which to run Kafka";
default = cfg.package.passthru.jre;
defaultText = literalExpression "pkgs.apacheKafka.passthru.jre";
type = types.package;