From: Gert van Dijk Date: Sun, 31 Mar 2019 17:25:21 +0000 (+0200) Subject: docs: Fix formatting of Lua2 backend API X-Git-Tag: rec-4.2.0-rc1~45^2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c0f81fcae5ba743adda17b71a09166f83cbb98b;p=thirdparty%2Fpdns.git docs: Fix formatting of Lua2 backend API Without a blank line between the paragraphs in the descriptions of RST description lists [1], the list items will not render as list items, but as a long single paragraph. [1]: http://docutils.sourceforge.net/docs/user/rst/quickref.html#definition-lists --- diff --git a/docs/backends/lua2.rst b/docs/backends/lua2.rst index 7b079a0d4e..e12c1441e1 100644 --- a/docs/backends/lua2.rst +++ b/docs/backends/lua2.rst @@ -46,6 +46,7 @@ INPUT: OUTPUT: Expects a array which has tables with following keys: + - DNSName name - resource record name (can also be string) - string type - type of resource record (can also be QType or valid integer) - string content - resource record content @@ -85,6 +86,7 @@ INPUT: OUTPUT: Return false if not supported or found, otherwise expects a table with keys: + - string account - Associated account of this domain (default: ) - string kind - Domain kind (NATIVE,MASTER,SLAVE) (default: NATIVE) - int id - Associated domain ID (default: -1) @@ -147,6 +149,7 @@ INPUT: OUTPUT: Return false if not found or supported, otherwise expects array of tables with keys: + - int id - Key ID - int flags - Key flags - bool active - Is key active @@ -165,6 +168,7 @@ INPUT: OUTPUT: Table with keys: + - unhashed - DNSName of the unhashed relative to domain - before - (hashed) name of previous record relative to domain - after - (hashed) name of next record relative to domain