未验证 提交 01a24cac 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

docs: fix doc format (#20157)

* docs: add jdbc 3.1.0 version description

* docs: fix jdbc description

* docs: add tmq over websocket demo

* docs: fix jdbc tmq demo path

* docs: docs demo in CI

* fix: add jdbc version

* docs: use subscription instead of tmq

* docs: fix format

---------
Co-authored-by: Nhuolibo <huolibo@qq.com>
上级 67a94707
<Tabs defaultValue="native"> <Tabs defaultValue="native">
<TabItem value="native" label="native connection"> <TabItem value="native" label="native connection">
```java ```java
{{#include docs/examples/java/src/main/java/com/taos/example/SubscribeDemo.java}} {{#include docs/examples/java/src/main/java/com/taos/example/SubscribeDemo.java}}
``` ```
...@@ -9,8 +10,10 @@ ...@@ -9,8 +10,10 @@
```java ```java
{{#include docs/examples/java/src/main/java/com/taos/example/Meters.java}} {{#include docs/examples/java/src/main/java/com/taos/example/Meters.java}}
``` ```
</TabItem> </TabItem>
<TabItem value="ws" label="WebSocket connection"> <TabItem value="ws" label="WebSocket connection">
```java ```java
{{#include docs/examples/java/src/main/java/com/taos/example/WebsocketSubscribeDemo.java}} {{#include docs/examples/java/src/main/java/com/taos/example/WebsocketSubscribeDemo.java}}
``` ```
...@@ -20,5 +23,6 @@ ...@@ -20,5 +23,6 @@
```java ```java
{{#include docs/examples/java/src/main/java/com/taos/example/Meters.java}} {{#include docs/examples/java/src/main/java/com/taos/example/Meters.java}}
``` ```
</TabItem> </TabItem>
</Tabs> </Tabs>
<Tabs defaultValue="native"> <Tabs defaultValue="native">
<TabItem value="native" label="本地连接"> <TabItem value="native" label="本地连接">
```java ```java
{{#include docs/examples/java/src/main/java/com/taos/example/SubscribeDemo.java}} {{#include docs/examples/java/src/main/java/com/taos/example/SubscribeDemo.java}}
``` ```
...@@ -9,8 +10,10 @@ ...@@ -9,8 +10,10 @@
```java ```java
{{#include docs/examples/java/src/main/java/com/taos/example/Meters.java}} {{#include docs/examples/java/src/main/java/com/taos/example/Meters.java}}
``` ```
</TabItem> </TabItem>
<TabItem value="ws" label="WebSocket 连接"> <TabItem value="ws" label="WebSocket 连接">
```java ```java
{{#include docs/examples/java/src/main/java/com/taos/example/WebsocketSubscribeDemo.java}} {{#include docs/examples/java/src/main/java/com/taos/example/WebsocketSubscribeDemo.java}}
``` ```
...@@ -20,5 +23,6 @@ ...@@ -20,5 +23,6 @@
```java ```java
{{#include docs/examples/java/src/main/java/com/taos/example/Meters.java}} {{#include docs/examples/java/src/main/java/com/taos/example/Meters.java}}
``` ```
</TabItem> </TabItem>
</Tabs> </Tabs>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册