treewide: remove now-redundant lib.mdDoc calls
These (and the `*MD` functions apart from `literalMD`) are now no-ops
in nixpkgs and serve no purpose other than to add additional noise and
potentially mislead people into thinking unmarked DocBook documentation
will still be accepted.
Note that if backporting changes including documentation to 23.05,
the `mdDoc` calls will need to be re-added.
To reproduce this commit, run:
$ NIX_PATH=nixpkgs=flake:nixpkgs/e7e69199f0372364a6106a1e735f68604f4c5a25 \
nix shell nixpkgs#coreutils \
-c find . -name '*.nix' \
-exec nix run -- github:emilazy/nix-doc-munge/98dadf1f77351c2ba5dcb709a2a171d655f15099 \
--strip {} +
$ ./format
This commit is contained in:
parent
7398af11b8
commit
9f9e277b60
360 changed files with 2672 additions and 2853 deletions
|
|
@ -29,7 +29,7 @@ let
|
|||
in {
|
||||
options = {
|
||||
programs.taskwarrior = {
|
||||
enable = mkEnableOption (lib.mdDoc "Task Warrior");
|
||||
enable = mkEnableOption "Task Warrior";
|
||||
|
||||
config = mkOption {
|
||||
type = types.attrsOf types.anything;
|
||||
|
|
@ -49,7 +49,7 @@ in {
|
|||
};
|
||||
}
|
||||
'';
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Key-value configuration written to
|
||||
{file}`$XDG_CONFIG_HOME/task/taskrc`.
|
||||
'';
|
||||
|
|
@ -59,7 +59,7 @@ in {
|
|||
type = types.str;
|
||||
default = "${config.xdg.dataHome}/task";
|
||||
defaultText = "$XDG_DATA_HOME/task";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Location where Task Warrior will store its data.
|
||||
|
||||
Home Manager will attempt to create this directory.
|
||||
|
|
@ -70,7 +70,7 @@ in {
|
|||
type = with types; nullOr (either str path);
|
||||
default = null;
|
||||
example = "dark-blue-256";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Either one of the default provided theme as string, or a
|
||||
path to a theme configuration file.
|
||||
'';
|
||||
|
|
@ -79,13 +79,13 @@ in {
|
|||
extraConfig = mkOption {
|
||||
type = types.lines;
|
||||
default = "";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Additional content written at the end of
|
||||
{file}`$XDG_CONFIG_HOME/task/taskrc`.
|
||||
'';
|
||||
};
|
||||
|
||||
package = mkPackageOptionMD pkgs "taskwarrior" { };
|
||||
package = mkPackageOption pkgs "taskwarrior" { };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue