about summary refs log tree commit diff
path: root/modules/server/git
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-06-16 10:28:38 +0000
committerAlyssa Ross <hi@alyssa.is>2023-08-05 09:35:26 +0000
commit635f5ea350f375d183ef6994691cf9c47f84191e (patch)
tree08126b3b7abadf69ffec16cf0cf751f321d99479 /modules/server/git
parent7517820d73ff3edcc8da721931aeeaf206929650 (diff)
downloadnixlib-635f5ea350f375d183ef6994691cf9c47f84191e.tar
nixlib-635f5ea350f375d183ef6994691cf9c47f84191e.tar.gz
nixlib-635f5ea350f375d183ef6994691cf9c47f84191e.tar.bz2
nixlib-635f5ea350f375d183ef6994691cf9c47f84191e.tar.lz
nixlib-635f5ea350f375d183ef6994691cf9c47f84191e.tar.xz
nixlib-635f5ea350f375d183ef6994691cf9c47f84191e.tar.zst
nixlib-635f5ea350f375d183ef6994691cf9c47f84191e.zip
modules: use Markdown documentation descriptions
Diffstat (limited to 'modules/server/git')
-rw-r--r--modules/server/git/default.nix16
1 files changed, 8 insertions, 8 deletions
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 = {};
     };