From d5c80d7ab1651d109b452c8c3e1329133000b6f9 Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Mon, 13 Mar 2023 19:36:13 +0100 Subject: [PATCH] DOC: lua: silence "literal block ends without a blank line" Sphinx warnings When building html documentation from doc/lua-api/index.rst, sphinx complains about some literal blocks ending without a blank line: "doc/lua-api/index.rst:534: WARNING: Literal block ends without a blank line; unexpected unindent." Adding the missing blank lines to make sphinx happy --- doc/lua-api/index.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/lua-api/index.rst b/doc/lua-api/index.rst index 917b684..038400a 100644 --- a/doc/lua-api/index.rst +++ b/doc/lua-api/index.rst @@ -510,6 +510,7 @@ Core class frontend http_frt mode http http-request lua.hello-world + .. A second example using arguments @@ -520,6 +521,7 @@ Core class txn:Info("Hello world for " .. arg) end core.register_action("hello-world", { "tcp-req", "http-req" }, hello_world, 2) + .. This example code is used in HAProxy configuration like this: @@ -529,6 +531,7 @@ Core class frontend tcp_frt mode tcp tcp-request content lua.hello-world everybody + .. .. js:function:: core.register_converters(name, func) @@ -644,6 +647,7 @@ Core class frontend http mode http filter lua.my-filter arg1 arg2 arg3 + .. :see: :js:class:`Filter` -- 1.7.10.4