diff options
author | pennae <github@quasiparticle.net> | 2022-08-02 02:47:05 +0200 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2022-08-03 21:03:23 +0200 |
commit | 16102dce2fbad670bd47dd75c860a8daa5fe47ad (patch) | |
tree | 26fa9aed51c066b5145eae0d87f4ba387e3ecd48 /nixos/modules/services/torrent | |
parent | 694d5b19d30bf66687b42fb77f43ea7cd1002a62 (diff) |
nixos/*: replace <code> in option docs with <literal>
markdown can't represent the difference without another extension and both the html manual and the manpage render them the same, so keeping the distinction is not very useful on its own. with the distinction removed we can automatically convert many options that use <code> tags to markdown. the manpage remains unchanged, html manual does not render differently (but class names on code tags do change from "code" to "literal").
Diffstat (limited to 'nixos/modules/services/torrent')
-rw-r--r-- | nixos/modules/services/torrent/transmission.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/torrent/transmission.nix b/nixos/modules/services/torrent/transmission.nix index 9777964386c96..1641f1ad184ed 100644 --- a/nixos/modules/services/torrent/transmission.nix +++ b/nixos/modules/services/torrent/transmission.nix @@ -175,7 +175,7 @@ in default = null; example = "770"; description = '' - If not <code>null</code>, is used as the permissions + If not <literal>null</literal>, is used as the permissions set by <literal>systemd.activationScripts.transmission-daemon</literal> on the directories <xref linkend="opt-services.transmission.settings.download-dir"/>, <xref linkend="opt-services.transmission.settings.incomplete-dir"/>. @@ -214,7 +214,7 @@ in description = '' Path to a JSON file to be merged with the settings. Useful to merge a file which is better kept out of the Nix store - to set secret config parameters like <code>rpc-password</code>. + to set secret config parameters like <literal>rpc-password</literal>. ''; default = "/dev/null"; example = "/var/lib/secrets/transmission/settings.json"; @@ -237,7 +237,7 @@ in to open many more connections at the same time. Note that you may also want to increase - <code>peer-limit-global"</code>. + <literal>peer-limit-global"</literal>. And be aware that these settings are quite aggressive and might not suite your regular desktop use. For instance, SSH sessions may time out more easily''; |