From: Aurelien DARRAGON Date: Wed, 23 Aug 2023 15:47:10 +0000 (+0200) Subject: DOC: lua: fix Sphinx warning from core.get_var() X-Git-Tag: v2.9-dev4~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=190f09a6ce6fba8bfd8fa4739b89ca7add807231;p=thirdparty%2Fhaproxy.git DOC: lua: fix Sphinx warning from core.get_var() Since f034139bc0 ("MINOR: lua: Allow reading "proc." scoped vars from LUA core."), a new Sphinx warning is emitted when generating the lua doc: "WARNING: Field list ends without a blank line; unexpected unindent." This is due to a missing space after the line break continuation, sphinx parser is very restrictive unfortunately! Suppressing the warning and fixing the html output at the same time by adding the missing space. --- diff --git a/doc/lua-api/index.rst b/doc/lua-api/index.rst index 4f7246fecf..6f180ac88f 100644 --- a/doc/lua-api/index.rst +++ b/doc/lua-api/index.rst @@ -389,7 +389,7 @@ Core class This is limited to "proc." scoped variables. :param string var: The variable name in "proc." scope according with the - HAProxy variable syntax. + HAProxy variable syntax. .. js:function:: core.now()