mirror of
https://github.com/NixOS/nix
synced 2025-06-24 18:01:16 +02:00
Support per-store Markdown documentation
This commit is contained in:
parent
7704118d28
commit
9eb53bbf17
20 changed files with 181 additions and 4 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue