mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
manual / manpages: Make option category names a proper subheader
Before they were an "ad-hoc" header with bold and a colon; now they are a proper subheader. For the man pages, this doesn't make much of a difference, but it will help more on for the HTML manual, where things can be restyled. Again, good separation of content vs presentation.
This commit is contained in:
parent
1d9fd3a6f8
commit
9f93972c4d
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ let
|
|||
showOptions = allOptions:
|
||||
let
|
||||
showCategory = cat: opts: ''
|
||||
${optionalString (cat != "") "**${cat}:**"}
|
||||
${optionalString (cat != "") "## ${cat}"}
|
||||
|
||||
${concatStringsSep "\n" (attrValues (mapAttrs showOption opts))}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue