]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
docs(rec): Fix some rendering/directive issues
authorPieter Lexis <pieter.lexis@powerdns.com>
Thu, 29 Jan 2026 11:14:37 +0000 (12:14 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Mon, 23 Mar 2026 09:32:46 +0000 (10:32 +0100)
pdns/recursordist/docs/lua-config/additionals.rst
pdns/recursordist/docs/lua-config/protobuf.rst
pdns/recursordist/docs/lua-scripting/dq.rst
pdns/recursordist/docs/lua-scripting/hooks.rst

index e414ae06244ccac94ef475d1ab5d50eec38315a0..cc57c279e5c0b81044806882c49bb1d63ef2c0af 100644 (file)
@@ -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`.
index 2ac068ed3d16a2869a83e380a5ad0bdb386be409..d70a869ab597aec23ce795e03cdc55c839001573 100644 (file)
@@ -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`.
index e48546b3bac7d0d73b856fdc80183ea900c16c8e..c3a170c33d5cc62fa8cf794e0fd8a0681c0423a3 100644 (file)
@@ -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.
 
index 73f2e9f6f630c5f8ee73a044ff1401eabb08c5d0..953e609c6e9017eb06f0dfb5f75887ad3c72d09a 100644 (file)
@@ -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 <DNSQuestion>` object apart from the record set manipulation methods.
 
-.. func:: policyEventFilter(event) -> bool
+.. function:: policyEventFilter(event) -> bool
 
   .. versionadded:: 4.4.0