From 635f5ea350f375d183ef6994691cf9c47f84191e Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 16 Jun 2023 10:28:38 +0000 Subject: modules: use Markdown documentation descriptions --- modules/server/git/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'modules/server/git') diff --git a/modules/server/git/default.nix b/modules/server/git/default.nix index bce947bfd430..523715a363d9 100644 --- a/modules/server/git/default.nix +++ b/modules/server/git/default.nix @@ -15,35 +15,35 @@ let options = { branch = mkOption { default = "main"; - description = "Branch to be the repository's HEAD"; + description = mdDoc "Branch to be the repository's HEAD"; type = types.str; }; description = mkOption { - description = "Description of the repository."; + description = mdDoc "Description of the repository."; type = types.str; }; config = mkOption { - description = "Git configuration for the repository."; + description = mdDoc "Git configuration for the repository."; type = types.attrs; default = {}; }; hooks = mkOption { - description = "Git hooks for the repository."; + description = mdDoc "Git hooks for the repository."; type = with types; attrsOf (listOf path); default = {}; }; owner = mkOption { - description = "Name of the user to own the git repository."; + description = mdDoc "Name of the user to own the git repository."; type = types.str; default = "-"; }; group = mkOption { - description = "Name of the group for the git repository."; + description = mdDoc "Name of the group for the git repository."; type = types.str; default = "-"; }; @@ -52,13 +52,13 @@ let in { options.declarative-git = { repositories = mkOption { - description = "Repositories to manage declaratively."; + description = mdDoc "Repositories to manage declaratively."; type = types.attrsOf (types.submodule repoOpts); default = {}; }; hooks = mkOption { - description = "Git hooks to apply to all declarative repositories."; + description = mdDoc "Git hooks to apply to all declarative repositories."; type = with types; attrsOf (listOf path); default = {}; }; -- cgit 1.4.1