nixos/i18n: invariant option docs MD conversions

This commit is contained in:
pennae 2022-07-20 12:32:04 +02:00
parent 4dd84a34db
commit 77d56dfc22
2 changed files with 5 additions and 5 deletions

View File

@ -22,9 +22,9 @@ in
let
enginesDrv = filterAttrs (const isDerivation) pkgs.fcitx-engines;
engines = concatStringsSep ", "
(map (name: "<literal>${name}</literal>") (attrNames enginesDrv));
(map (name: "`${name}`") (attrNames enginesDrv));
in
"Enabled Fcitx engines. Available engines are: ${engines}.";
lib.mdDoc "Enabled Fcitx engines. Available engines are: ${engines}.";
};
};

View File

@ -43,15 +43,15 @@ in
let
enginesDrv = filterAttrs (const isDerivation) pkgs.ibus-engines;
engines = concatStringsSep ", "
(map (name: "<literal>${name}</literal>") (attrNames enginesDrv));
(map (name: "`${name}`") (attrNames enginesDrv));
in
"Enabled IBus engines. Available engines are: ${engines}.";
lib.mdDoc "Enabled IBus engines. Available engines are: ${engines}.";
};
panel = mkOption {
type = with types; nullOr path;
default = null;
example = literalExpression ''"''${pkgs.plasma5Packages.plasma-desktop}/lib/libexec/kimpanel-ibus-panel"'';
description = "Replace the IBus panel with another panel.";
description = lib.mdDoc "Replace the IBus panel with another panel.";
};
};
};