about summary refs log tree commit diff
path: root/nixos/modules/virtualisation/podman
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-02 02:47:05 +0200
committerpennae <github@quasiparticle.net>2022-08-03 21:03:23 +0200
commit16102dce2fbad670bd47dd75c860a8daa5fe47ad (patch)
tree26fa9aed51c066b5145eae0d87f4ba387e3ecd48 /nixos/modules/virtualisation/podman
parent694d5b19d30bf66687b42fb77f43ea7cd1002a62 (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/virtualisation/podman')
-rw-r--r--nixos/modules/virtualisation/podman/default.nix2
-rw-r--r--nixos/modules/virtualisation/podman/network-socket.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/virtualisation/podman/default.nix b/nixos/modules/virtualisation/podman/default.nix
index 361caeff70bef..1e2f8a7fae64f 100644
--- a/nixos/modules/virtualisation/podman/default.nix
+++ b/nixos/modules/virtualisation/podman/default.nix
@@ -74,7 +74,7 @@ in
 
         Podman implements the Docker API.
 
-        Users must be in the <code>podman</code> group in order to connect. As
+        Users must be in the <literal>podman</literal> group in order to connect. As
         with Docker, members of this group can gain root access.
       '';
     };
diff --git a/nixos/modules/virtualisation/podman/network-socket.nix b/nixos/modules/virtualisation/podman/network-socket.nix
index 94d8da9d2b614..5f6ce493558b9 100644
--- a/nixos/modules/virtualisation/podman/network-socket.nix
+++ b/nixos/modules/virtualisation/podman/network-socket.nix
@@ -22,7 +22,7 @@ in
         with TLS client certificate authentication.
 
         This allows Docker clients to connect with the equivalents of the Docker
-        CLI <code>-H</code> and <code>--tls*</code> family of options.
+        CLI <literal>-H</literal> and <literal>--tls*</literal> family of options.
 
         For certificate setup, see https://docs.docker.com/engine/security/protect-access/