From: Gert van Dijk Date: Sun, 31 Mar 2019 17:25:21 +0000 (+0200) Subject: docs: fix link in Lua backend X-Git-Tag: rec-4.2.0-rc1~45^2~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76a678b6757f5e8a4787ab89fd8451dc2e2b4fac;p=thirdparty%2Fpdns.git docs: fix link in Lua backend 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 --- diff --git a/docs/backends/lua.rst b/docs/backends/lua.rst index b7d39dcb2b..c95702114b 100644 --- a/docs/backends/lua.rst +++ b/docs/backends/lua.rst @@ -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() `, but returns +a boolean instead of a string. You also have all the different QTypes in a table called 'QTypes'.