nixos/manual: replace ids on blocks with inline anchors

nixos-render-docs supports inline anchors, but not ids for blocks. it
seems wise to reserve blocks for special cases that don't have other
syntax already, like admonitions.
This commit is contained in:
pennae 2023-02-08 10:15:02 +01:00
parent 2e3d9e8d74
commit bb34d5d6d4
2 changed files with 4 additions and 4 deletions

View File

@ -119,9 +119,8 @@ have a predefined type and string generator already declared under
default Elixir keyword list
::: {#pkgs-formats-result}
[]{#pkgs-formats-result}
These functions all return an attribute set with these values:
:::
`type`

View File

@ -260,8 +260,9 @@
</listitem>
</varlistentry>
</variablelist>
<para xml:id="pkgs-formats-result">
These functions all return an attribute set with these values:
<para>
<anchor xml:id="pkgs-formats-result" /> These functions all return
an attribute set with these values:
</para>
<variablelist>
<varlistentry>