treewide: adjust some DocBook for conversion
The NixOS variant of Markdown doesn't make a distinction between `<code>` and `<literal>` or `<quote>` and... quotes, and doesn't support `<parameter>` or `<replaceable>`. These are infrequently used (apart from `<code>`) and don't add much, so just convert them to simpler forms to allow the options containing them to be converted to Markdown automatically. A few minor syntactic adjustments were also made to make `nix-doc-munge`'s job easier.
This commit is contained in:
parent
b5a65b91fb
commit
c1d8d2a3d1
30 changed files with 72 additions and 85 deletions
|
|
@ -55,7 +55,7 @@ in {
|
|||
default = pkgs.ncmpcpp;
|
||||
defaultText = literalExpression "pkgs.ncmpcpp";
|
||||
description = ''
|
||||
Package providing the <code>ncmpcpp</code> command.
|
||||
Package providing the <literal>ncmpcpp</literal> command.
|
||||
'';
|
||||
example =
|
||||
literalExpression "pkgs.ncmpcpp.override { visualizerSupport = true; }";
|
||||
|
|
@ -75,7 +75,7 @@ in {
|
|||
null
|
||||
'';
|
||||
description = ''
|
||||
Value of the <code>mpd_music_dir</code> setting. On Linux platforms the
|
||||
Value of the <literal>mpd_music_dir</literal> setting. On Linux platforms the
|
||||
value of <varname>services.mpd.musicDirectory</varname> is used as the
|
||||
default if <varname>services.mpd.enable</varname> is
|
||||
<literal>true</literal>.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue