nixos/dokuwiki: Mark last descriptions as md

This commit is contained in:
Moritz 'e1mo' Fromm 2023-04-14 13:54:34 +02:00
parent e78f08fa21
commit cc55cd6ab7
No known key found for this signature in database
GPG Key ID: 1D5D79A439E787F1

View File

@ -91,13 +91,13 @@ let
page = mkOption {
type = types.str;
description = "Page or namespace to restrict";
description = lib.mdDoc "Page or namespace to restrict";
example = "start";
};
actor = mkOption {
type = types.str;
description = "User or group to restrict";
description = lib.mdDoc "User or group to restrict";
example = "@external";
};
@ -113,7 +113,7 @@ let
in mkOption {
type = types.enum ((attrValues available) ++ (attrNames available));
apply = x: if isInt x then x else available.${x};
description = ''
description = lib.mdDoc ''
Permission level to restrict the actor(s) to.
See <https://www.dokuwiki.org/acl#background_info> for explanation
'';