mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
add anchors to option listings
This commit is contained in:
parent
acc50e1845
commit
391f18063c
@ -98,7 +98,7 @@ let
|
||||
(option ? labels)
|
||||
(concatStringsSep " " (map (s: "*${s}*") option.labels));
|
||||
in trim ''
|
||||
- `--${name}` ${shortName} ${labels}
|
||||
- <span id="opt-${name}">[`--${name}`](#opt-${name})</span> ${shortName} ${labels}
|
||||
|
||||
${option.description}
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user