Skip to content

Commit 785c1e0

Browse files
authored
Merge pull request #909 from nix-community/remove-lib-mdDoc
tree-wide: Remove all uses of lib.mdDoc
2 parents 2814a52 + 67a130b commit 785c1e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/types/btrfs.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let
1717
priority = lib.mkOption {
1818
type = lib.types.nullOr lib.types.int;
1919
default = null;
20-
description = lib.mdDoc ''
20+
description = ''
2121
Specify the priority of the swap file. Priority is a value between 0 and 32767.
2222
Higher numbers indicate higher priority.
2323
null lets the kernel choose a priority, which will show up as a negative value.

lib/types/swap.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
default = null;
1616
example = "once";
1717
type = lib.types.nullOr (lib.types.enum [ "once" "pages" "both" ]);
18-
description = lib.mdDoc ''
18+
description = ''
1919
Specify the discard policy for the swap device. If "once", then the
2020
whole swap space is discarded at swapon invocation. If "pages",
2121
asynchronous discard on freed pages is performed, before returning to
@@ -37,7 +37,7 @@
3737
priority = lib.mkOption {
3838
type = lib.types.nullOr lib.types.int;
3939
default = null;
40-
description = lib.mdDoc ''
40+
description = ''
4141
Specify the priority of the swap device. Priority is a value between 0 and 32767.
4242
Higher numbers indicate higher priority.
4343
null lets the kernel choose a priority, which will show up as a negative value.

0 commit comments

Comments
 (0)