]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
docs: fix link in Lua backend
authorGert van Dijk <gertvdijk@gmail.com>
Sun, 31 Mar 2019 17:25:21 +0000 (19:25 +0200)
committerGert van Dijk <gertvdijk@gmail.com>
Mon, 8 Apr 2019 10:15:07 +0000 (12:15 +0200)
Two problems with the existing link:
* target was non-existent (anchor is different in Sphinx)
* nested markup for monospaced text on link is not possible, see
  https://stackoverflow.com/q/4743845/1254292

docs/backends/lua.rst

index b7d39dcb2b99e36956ae347d1f9e90f6b40b00da..c95702114bea23b10f5f0b7d15d64583d4a2e5f7 100644 (file)
@@ -66,6 +66,8 @@ This will give you back three parameters with ``remote_ip``,
 
 Can only be used in the functions ``list()`` and ``getsoa()``.
 
+.. _backends_lua_fun_getarg:
+
 ``getarg("PARAMETER")``
 ~~~~~~~~~~~~~~~~~~~~~~~
 
@@ -75,8 +77,8 @@ pdns.conf file.
 ``mustdo("PARAMETER")``
 ~~~~~~~~~~~~~~~~~~~~~~~
 
-This is the same as ```getarg()`` <#getarg>`__ but return a boolean
-instead of a string.
+This is the same as :ref:`getarg() <backends_lua_fun_getarg>`, but returns
+a boolean instead of a string.
 
 You also have all the different QTypes in a table called 'QTypes'.