-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix][Doc] fix doc tip style and add document format specification (#…
- Loading branch information
Showing
9 changed files
with
70 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Docs Format Specification | ||
## Admonitions | ||
|
||
We have special admonitions syntax by wrapping text with a set of 3 colons, followed by a label denoting its type. When you want to emphasize the content, it is recommended to use admonitions. | ||
|
||
In use, the following specifications need to be followed: | ||
|
||
- Tip: mainly used for operational tips and tricks. | ||
|
||
- Note: used for more details and explanations. | ||
|
||
- Caution: used for warnings and precautions. | ||
|
||
You may also specify an optional title. Here are the examples of admonitions syntax: | ||
|
||
```Markdown | ||
:::tip Tip | ||
Some content with tips | ||
::: | ||
|
||
:::info Note | ||
Some content with explanations | ||
::: | ||
|
||
:::caution Warning | ||
Some content with precuations and warnings | ||
::: | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
|
||
- [ ] [精准一次](../../concept/connector-v2-features.md) | ||
|
||
:::小提示 | ||
:::tip 提示 | ||
|
||
你也可以采用JDBC的方式将数据写入Clickhouse。 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
将数据写入 Hive。 | ||
|
||
:::提示 | ||
:::tip 提示 | ||
|
||
为了使用此连接器,您必须确保您的 Spark/Flink 集群已经集成了 Hive。测试过的 Hive 版本是 2.3.9 和 3.1.3。 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
从 Hive 读取数据。 | ||
|
||
:::提示 | ||
:::tip 提示 | ||
|
||
为了使用此连接器,您必须确保您的 Spark/Flink 集群已经集成了 Hive。测试过的 Hive 版本是 2.3.9 和 3.1.3。 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# 文档格式规范 | ||
## 注释说明 | ||
|
||
注释说明在技术文档中起强调作用。在使用中,需遵循以下规范: | ||
|
||
- 根据提示内容,可以将注释分为“提示”、“备注”、“注意”三类。注释框标题与使用场景请遵循以下规范: | ||
|
||
- 提示:主要用于操作技巧提示 | ||
|
||
- 备注:用于补充内容补充解释 | ||
|
||
- 注意:用于操作、注意事项警告 | ||
|
||
- 提示框内容可以使用有序、无序、代码块 | ||
|
||
|
||
下面是 Markdown 文档中注释说明示例: | ||
|
||
```Markdown | ||
:::tip 提示 | ||
这是一条提示 | ||
::: | ||
|
||
:::info 备注 | ||
这是一条备注 | ||
::: | ||
|
||
:::caution 注意 | ||
这是一条注意事项 | ||
::: | ||
``` |