Skip to content

Commit

Permalink
Merge pull request #909 from nix-community/remove-lib-mdDoc
Browse files Browse the repository at this point in the history
tree-wide: Remove all uses of lib.mdDoc
  • Loading branch information
phaer authored Dec 2, 2024
2 parents 2814a52 + 67a130b commit 785c1e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/types/btrfs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let
priority = lib.mkOption {
type = lib.types.nullOr lib.types.int;
default = null;
description = lib.mdDoc ''
description = ''
Specify the priority of the swap file. Priority is a value between 0 and 32767.
Higher numbers indicate higher priority.
null lets the kernel choose a priority, which will show up as a negative value.
Expand Down
4 changes: 2 additions & 2 deletions lib/types/swap.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
default = null;
example = "once";
type = lib.types.nullOr (lib.types.enum [ "once" "pages" "both" ]);
description = lib.mdDoc ''
description = ''
Specify the discard policy for the swap device. If "once", then the
whole swap space is discarded at swapon invocation. If "pages",
asynchronous discard on freed pages is performed, before returning to
Expand All @@ -37,7 +37,7 @@
priority = lib.mkOption {
type = lib.types.nullOr lib.types.int;
default = null;
description = lib.mdDoc ''
description = ''
Specify the priority of the swap device. Priority is a value between 0 and 32767.
Higher numbers indicate higher priority.
null lets the kernel choose a priority, which will show up as a negative value.
Expand Down

0 comments on commit 785c1e0

Please sign in to comment.