summaryrefslogtreecommitdiffstats
path: root/nixos/modules/misc/man-db.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/misc/man-db.nix')
-rw-r--r--nixos/modules/misc/man-db.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/misc/man-db.nix b/nixos/modules/misc/man-db.nix
index 8bd329bc4e0c..7aeb02d883ac 100644
--- a/nixos/modules/misc/man-db.nix
+++ b/nixos/modules/misc/man-db.nix
@@ -23,11 +23,11 @@ in
++ lib.optionals config.documentation.dev.enable [ "devman" ];
ignoreCollisions = true;
};
- defaultText = lib.literalDocBook "all man pages in <option>config.environment.systemPackages</option>";
- description = ''
- The manual pages to generate caches for if <option>documentation.man.generateCaches</option>
+ defaultText = lib.literalMD "all man pages in {option}`config.environment.systemPackages`";
+ description = lib.mdDoc ''
+ The manual pages to generate caches for if {option}`documentation.man.generateCaches`
is enabled. Must be a path to a directory with man pages under
- <literal>/share/man</literal>; see the source for an example.
+ `/share/man`; see the source for an example.
Advanced users can make this a content-addressed derivation to save a few rebuilds.
'';
};