g3proxy: update sphinx doc

This commit is contained in:
Zhang Jingqiang 2024-04-08 10:58:36 +08:00
parent 5274cc5fa1
commit 8e94c99541
6 changed files with 61 additions and 14 deletions

View file

@ -6,8 +6,8 @@ Escaper
The type for each escaper config is *map*, with two always required keys:
* *name*, which specify the name of the escaper.
* *type*, which specify the real type of the escaper, decides how to parse other keys.
* :ref:`name <conf_escaper_common_name>`, which specify the name of the escaper.
* :ref:`type <conf_escaper_common_type>`, which specify the real type of the escaper, decides how to parse other keys.
There are many types of escaper, each with a section below.
@ -39,6 +39,24 @@ Common Keys
This section describes the common keys, they may be used by many escapers.
.. _conf_escaper_common_name:
name
----
**required**, **type**: :ref:`metrics name <conf_value_metrics_name>`
Set the name of the escaper.
.. _conf_escaper_common_type:
type
----
**required**, **type**: str
Set the type of the escaper.
.. _conf_escaper_common_shared_logger:
shared_logger