From: Pieter Lexis Date: Thu, 29 Jan 2026 11:14:37 +0000 (+0100) Subject: docs(rec): Fix some rendering/directive issues X-Git-Tag: auth-5.1.0-beta1~116^2~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ca191e09557eb850048f4c15e6094973ea38aae;p=thirdparty%2Fpdns.git docs(rec): Fix some rendering/directive issues --- diff --git a/pdns/recursordist/docs/lua-config/additionals.rst b/pdns/recursordist/docs/lua-config/additionals.rst index e414ae0624..cc57c279e5 100644 --- a/pdns/recursordist/docs/lua-config/additionals.rst +++ b/pdns/recursordist/docs/lua-config/additionals.rst @@ -85,7 +85,7 @@ The following function is available to configure additional record processing. Reloading the Lua configuration will replace the current configuration with the new one. Calling :func:`addAllowedAdditionalQType` multiple times with a specific qtype will replace previous calls with the same qtype. -.. function:: addAllowedAdditionalQType(qtype, targets [, options ])) +.. function:: addAllowedAdditionalQType(qtype, targets [, options ]) .. versionadded:: 4.7.0 .. versionadded:: 5.1.0 Alternative equivalent YAML setting: :ref:`setting-yaml-recursor.allowed_additional_qtypes`. diff --git a/pdns/recursordist/docs/lua-config/protobuf.rst b/pdns/recursordist/docs/lua-config/protobuf.rst index 2ac068ed3d..d70a869ab5 100644 --- a/pdns/recursordist/docs/lua-config/protobuf.rst +++ b/pdns/recursordist/docs/lua-config/protobuf.rst @@ -15,7 +15,7 @@ Configuring Protocol Buffer logs -------------------------------- Protobuf export to a server is enabled using the ``protobufServer()`` directive: -.. function:: protobufServer(servers [, options])) +.. function:: protobufServer(servers [, options]) .. versionadded:: 4.2.0 .. versionadded:: 5.1.0 Alternative equivalent YAML setting: :ref:`setting-yaml-logging.protobuf_servers`. diff --git a/pdns/recursordist/docs/lua-scripting/dq.rst b/pdns/recursordist/docs/lua-scripting/dq.rst index e48546b3ba..c3a170c33d 100644 --- a/pdns/recursordist/docs/lua-scripting/dq.rst +++ b/pdns/recursordist/docs/lua-scripting/dq.rst @@ -300,7 +300,7 @@ The DNSQuestion object contains at least the following fields: .. versionadded:: 4.4.0 - Get the Proxy Protocol Type-Length Values if any, as a table of :class:`ProxyProtocolValue` objects. + Get the Proxy Protocol Type-Length Values if any, as a table of :class:`ProxyProtocolValue` objects. .. method:: getRecords() -> {DNSRecord} @@ -388,12 +388,14 @@ The EDNSOptionView Class An object that represents the values of a single EDNS option .. method:: count() - .. versionadded:: 4.2.0 + + .. versionadded:: 4.2.0 The number of values for this EDNS option. .. method:: getValues() - .. versionadded:: 4.2.0 + + .. versionadded:: 4.2.0 Return a table of NULL-safe strings values for this EDNS option. diff --git a/pdns/recursordist/docs/lua-scripting/hooks.rst b/pdns/recursordist/docs/lua-scripting/hooks.rst index 73f2e9f6f6..953e609c6e 100644 --- a/pdns/recursordist/docs/lua-scripting/hooks.rst +++ b/pdns/recursordist/docs/lua-scripting/hooks.rst @@ -208,7 +208,7 @@ Interception Functions Do not rely on other attributes having a value and do not call any method of the :class:`dq ` object apart from the record set manipulation methods. -.. func:: policyEventFilter(event) -> bool +.. function:: policyEventFilter(event) -> bool .. versionadded:: 4.4.0