瀏覽代碼

fix(doc): fix content and header problems (#2056)

* fix(doc): wrong debug env value

Signed-off-by: Jiyong Huang <huangjy@emqx.io>

* fix(doc): fix wrong header

Signed-off-by: Jiyong Huang <huangjy@emqx.io>

---------

Signed-off-by: Jiyong Huang <huangjy@emqx.io>
ngjaying 1 年之前
父節點
當前提交
7b5202706c

+ 1 - 1
docs/en_US/getting_started/debug_rules.md

@@ -192,7 +192,7 @@ If the status is stopped, you can check the logs to check the detail. If the sta
 as expected, you can check the logs to see if there is any error or even open debug to track the data flow.
 
 Here is [the instruction to check the logs](#check-the-logs). To open debug log, you can set the log level to `debug` in
-the `etc/kuiper.yaml` file or setting environment variable: `KUIPER__BASIC__DEBUG=false`. Then you can check the debug
+the `etc/kuiper.yaml` file or setting environment variable: `KUIPER__BASIC__DEBUG=true`. Then you can check the debug
 log to see the data flow. For example, the below is one line of debug log regarding filter.
 
 ```text

+ 1 - 1
docs/en_US/sqls/functions/aggregate_functions.md

@@ -56,7 +56,7 @@ collect(col1, col2 ...)
 
 Returns an array with all columns or the whole record (when the parameter is *) values from the group.
 
-Examples:
+### Examples
 
 * Get an array of column `a` of the current window. Assume the column `a` is of an int type, the result will be
   like: `[{"r1":[32, 45]}]`

+ 1 - 1
docs/zh_CN/getting_started/debug_rules.md

@@ -167,7 +167,7 @@ GET http://{{host}}/rules/rule1/status
 如果状态是停止的,你可以查看日志来检查细节。如果状态是运行的,但指标不符合预期,你可以检查日志,看看是否有任何错误,甚至打开调试来跟踪数据流。
 
 下面是[检查日志的指令](#检查日志)。要打开调试日志,你可以在`etc/kuiper.yaml`文件中设置日志级别为`debug`
-或者设置环境变量:`KUIPER__BASIC__DEBUG=false`。然后你就可以检查调试日志来查看数据流。例如,下面是关于过滤器的调试日志的一行。
+或者设置环境变量:`KUIPER__BASIC__DEBUG=true`。然后你就可以检查调试日志来查看数据流。例如,下面是关于过滤器的调试日志的一行。
 
 ```text
 time="2023-05-31 14:58:43" level=debug msg="filter plan receive &{mockStream map[temperature:%!s(float64=-11.77) ts:%!s(float64=1.684738889251e+12)] %!s(int64=1685516298342) map[fi

+ 1 - 1
docs/zh_CN/sqls/functions/aggregate_functions.md

@@ -55,7 +55,7 @@ collect(col)
 
 返回组中指定的列或整个消息(参数为*时)的值组成的数组。
 
-## 示例
+### 示例
 
 * 获取当前窗口所有消息的列 a 的值组成的数组。假设列 a 的类型为 int, 则结果为: `[{"r1":[32, 45]}]`