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