]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: config: properly index "table and "stick-table" in their section
authorWilly Tarreau <w@1wt.eu>
Fri, 16 May 2025 13:37:03 +0000 (15:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 16 May 2025 13:37:03 +0000 (15:37 +0200)
Tim reported in issue #2953 that "stick-table" and "table" were not
indexed as keywords. The issue was the indent level. Also let's make
sure to put a box around the "store" arguments as well.

doc/configuration.txt

index c27db82f50e932f7197cc13cc3b122f0f692516f..6f5c89ae757c5ee44f83c19e02cedba733dfe89e 100644 (file)
@@ -28846,18 +28846,17 @@ that the one in the peers section requires a mandatory name and doesn't take a
 
 In a "frontend", "backend" or "listen" section:
 
-  stick-table type <type> size <size> [expire <expire>] [nopurge] [recv-only]
-              [write-to <wtable>] [srvkey <srvkey>] [store <data_type>]*
-              [brates-factor <factor>] [peers <peersect>]
+stick-table type <type> size <size> [expire <expire>] [nopurge] [recv-only]
+            [write-to <wtable>] [srvkey <srvkey>] [store <data_type>]*
+            [brates-factor <factor>] [peers <peersect>]
 
 In a "peers" section:
 
-  table <name> type <type> size <size> [expire <expire>] [nopurge] [recv-only]
-               [write-to <wtable>] [srvkey <srvkey>] [store <data_type>]*
-               [brates-factor <factor>]
-
-Arguments (mandatory ones first, then alphabetically sorted):
+table <name> type <type> size <size> [expire <expire>] [nopurge] [recv-only]
+             [write-to <wtable>] [srvkey <srvkey>] [store <data_type>]*
+             [brates-factor <factor>]
 
+Arguments: (mandatory ones first, then alphabetically sorted):
   - type <type>
              This mandatory argument sets the key type to <type>, which
              usually is a single word but may also have its own arguments:
@@ -29015,8 +29014,9 @@ are listed below. It is important to keep in mind that memory requirements may
 be important when storing many data types. Indeed, storing all indicators below
 at once in each entry can requires hundreds of bytes per entry, or hundreds of
 MB for a 1-million entries table. For this reason, the approximate storage size
-is mentioned for each type between brackets:
+is mentioned below for each type between brackets after the argument.
 
+Arguments:
   - bytes_in_cnt [4 bytes]
              This is the client to server byte count. It is a positive 64-bit
              integer which counts the cumulative number of bytes received from