]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: lua: fix Sphinx warning from core.get_var()
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 23 Aug 2023 15:47:10 +0000 (17:47 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 25 Aug 2023 09:52:43 +0000 (11:52 +0200)
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.

doc/lua-api/index.rst

index 4f7246fecf75e84777afd7c84a9b7d7d18383994..6f180ac88f60590a5a55a2357888f173d7ec466b 100644 (file)
@@ -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()