nixos/dokuwiki: Mark last descriptions as md
This commit is contained in:
@@ -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
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user