forked from lix-project/lix
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
|
@ -92,7 +92,7 @@ let
|
||||||
showOptions = allOptions:
|
showOptions = allOptions:
|
||||||
let
|
let
|
||||||
showCategory = cat: opts: ''
|
showCategory = cat: opts: ''
|
||||||
${optionalString (cat != "") "**${cat}:**"}
|
${optionalString (cat != "") "## ${cat}"}
|
||||||
|
|
||||||
${concatStringsSep "\n" (attrValues (mapAttrs showOption opts))}
|
${concatStringsSep "\n" (attrValues (mapAttrs showOption opts))}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue