mirror of
https://github.com/NixOS/nix
synced 2025-06-24 18:01:16 +02:00
Command: Remove examples()
This commit is contained in:
parent
c9279b831e
commit
1047cb1e53
3 changed files with 0 additions and 49 deletions
|
@ -20,11 +20,6 @@ let
|
|||
(attrNames def.commands))
|
||||
+ "\n"
|
||||
else "")
|
||||
+ (if def.examples or [] != []
|
||||
then
|
||||
"# Examples\n\n"
|
||||
+ concatStrings (map ({ description, command }: "${description}\n\n```console\n${command}\n```\n\n") def.examples)
|
||||
else "")
|
||||
+ (if def ? doc
|
||||
then def.doc + "\n\n"
|
||||
else "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue