summary refs log tree commit diff
path: root/doc/functions
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2021-11-14 22:27:04 +0100
committerJan Tojnar <jtojnar@gmail.com>2021-11-14 22:30:07 +0100
commit64d7a3266b6327521cfb563d014c4e26876f4dfa (patch)
tree507cc5c6d14edd81f2e6e3a4c78b77b91bcd22ec /doc/functions
parentb187fab93e5500d7ba6578f3657b5982e0888d03 (diff)
downloadnixpkgs-64d7a3266b6327521cfb563d014c4e26876f4dfa.tar
nixpkgs-64d7a3266b6327521cfb563d014c4e26876f4dfa.tar.gz
nixpkgs-64d7a3266b6327521cfb563d014c4e26876f4dfa.tar.bz2
nixpkgs-64d7a3266b6327521cfb563d014c4e26876f4dfa.tar.lz
nixpkgs-64d7a3266b6327521cfb563d014c4e26876f4dfa.tar.xz
nixpkgs-64d7a3266b6327521cfb563d014c4e26876f4dfa.tar.zst
nixpkgs-64d7a3266b6327521cfb563d014c4e26876f4dfa.zip
doc: Fix xref in functions description
This was accidentally broken by 3c78ad2561a831dcbe6e193465f787019638d56b.
Diffstat (limited to 'doc/functions')
-rw-r--r--doc/functions/library/attrsets.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/functions/library/attrsets.xml b/doc/functions/library/attrsets.xml
index 9d36becd496..a30f4edf4c1 100644
--- a/doc/functions/library/attrsets.xml
+++ b/doc/functions/library/attrsets.xml
@@ -166,7 +166,7 @@ lib.attrsets.setAttrByPath [ "a" "b" ] 3
   <xi:include href="./locations.xml" xpointer="lib.attrsets.getAttrFromPath" />
 
   <para>
-   Like [](#function-library-lib.attrsets.attrByPath) except without a default, and it will throw if the value doesn't exist.
+   Like <xref linkend="function-library-lib.attrsets.attrByPath" /> except without a default, and it will throw if the value doesn't exist.
   </para>
 
   <variablelist>
@@ -1480,7 +1480,7 @@ lib.attrsets.zipAttrsWith
   <xi:include href="./locations.xml" xpointer="lib.attrsets.zipAttrs" />
 
   <para>
-   Merge sets of attributes and combine each attribute value in to a list. Similar to [](#function-library-lib.attrsets.zipAttrsWith) where the merge function returns a list of all values.
+   Merge sets of attributes and combine each attribute value in to a list. Similar to <xref linkend="function-library-lib.attrsets.zipAttrsWith" /> where the merge function returns a list of all values.
   </para>
 
   <variablelist>