Browse Source

fix(docs): fix docs build error (#2081)

Signed-off-by: Swilder-M <poxiaobbs@gmail.com>
Ming 1 year ago
parent
commit
ee8eb2c4f1

+ 4 - 0
docs/en_US/guide/sources/builtin/http_pull.md

@@ -151,11 +151,15 @@ The attributes that can be used include:
 If the target HTTP service supports filtering the start and end times,
 If the target HTTP service supports filtering the start and end times,
 these two properties can be used to implement incremental pulls.
 these two properties can be used to implement incremental pulls.
 
 
+::: v-pre
+
 - If the target HTTP service passes the start and end times via the url parameter, you can configure the
 - If the target HTTP service passes the start and end times via the url parameter, you can configure the
   URL, e.g. `http://localhost:9090/pull?start={{.LastPullTime}}&end={{.PullTime}}`.
   URL, e.g. `http://localhost:9090/pull?start={{.LastPullTime}}&end={{.PullTime}}`.
 - If the target HTTP service passes the start and end times via the body parameter, you can configure the
 - If the target HTTP service passes the start and end times via the body parameter, you can configure the
   body, e.g. `{"start": {{.LastPullTime}}, "end": {{.PullTime}}`.
   body, e.g. `{"start": {{.LastPullTime}}, "end": {{.PullTime}}`.
 
 
+:::
+
 ## Override the default settings
 ## Override the default settings
 
 
 If you have a specific connection that need to overwrite the default settings, you can create a customized section. In
 If you have a specific connection that need to overwrite the default settings, you can create a customized section. In

+ 4 - 0
docs/zh_CN/guide/sources/builtin/http_pull.md

@@ -147,11 +147,15 @@ URL、正文和标头。其语法基于[数据模板](../../sinks/data_template.
 
 
 若目标 HTTP 服务支持过滤开始和结束时间,可以使用这两个属性来实现增量拉取。
 若目标 HTTP 服务支持过滤开始和结束时间,可以使用这两个属性来实现增量拉取。
 
 
+::: v-pre
+
 - 目标 HTTP 服务通过 url 参数传递开始和结束时间,则可配置
 - 目标 HTTP 服务通过 url 参数传递开始和结束时间,则可配置
   URL,例如 `http://localhost:9090/pull?start={{.LastPullTime}}&end={{.PullTime}}` 。
   URL,例如 `http://localhost:9090/pull?start={{.LastPullTime}}&end={{.PullTime}}` 。
 - 目标 HTTP 服务通过 body 参数传递开始和结束时间,则可配置
 - 目标 HTTP 服务通过 body 参数传递开始和结束时间,则可配置
   body,例如 `{"start": {{.LastPullTime}}, "end": {{.PullTime}}}`。
   body,例如 `{"start": {{.LastPullTime}}, "end": {{.PullTime}}}`。
 
 
+:::
+
 ## 重载默认设置
 ## 重载默认设置
 
 
 如果您有特定的连接需要重载默认设置,则可以创建一个自定义部分。 在上一个示例中,我们创建了一个名为 `application_conf` 的特定设置。
 如果您有特定的连接需要重载默认设置,则可以创建一个自定义部分。 在上一个示例中,我们创建了一个名为 `application_conf` 的特定设置。