aboutsummaryrefslogtreecommitdiff
path: root/doc/manual
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-03-21 14:03:05 +0100
committerEelco Dolstra <edolstra@gmail.com>2023-03-21 14:03:40 +0100
commit9eb53bbf17037691e1278c71517d74d0962aa43f (patch)
tree33fdd4666bbff78bc801ff241ac67877a952e993 /doc/manual
parent7704118d2816c2f7939db6771cd4665d5a68596d (diff)
Support per-store Markdown documentation
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/generate-manpage.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/manual/generate-manpage.nix b/doc/manual/generate-manpage.nix
index 7bb7a0caa..02d289eb1 100644
--- a/doc/manual/generate-manpage.nix
+++ b/doc/manual/generate-manpage.nix
@@ -129,10 +129,14 @@ let
storeDocs =
let
- showStore = name: { settings }:
+ showStore = name: { settings, doc }:
''
## ${name}
+ ${doc}
+
+ **Settings**:
+
${showSettings false settings}
'';
in concatStrings (attrValues (mapAttrs showStore cliDump.stores));