From 01a24caceac163f5330f2b973f5f910b9c52d24d Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Fri, 24 Feb 2023 17:34:25 +0800 Subject: [PATCH] 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: huolibo --- docs/en/07-develop/_sub_java.mdx | 4 ++++ docs/zh/07-develop/_sub_java.mdx | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/en/07-develop/_sub_java.mdx b/docs/en/07-develop/_sub_java.mdx index a928fa8836..09dacd8568 100644 --- a/docs/en/07-develop/_sub_java.mdx +++ b/docs/en/07-develop/_sub_java.mdx @@ -1,5 +1,6 @@ + ```java {{#include docs/examples/java/src/main/java/com/taos/example/SubscribeDemo.java}} ``` @@ -9,8 +10,10 @@ ```java {{#include docs/examples/java/src/main/java/com/taos/example/Meters.java}} ``` + + ```java {{#include docs/examples/java/src/main/java/com/taos/example/WebsocketSubscribeDemo.java}} ``` @@ -20,5 +23,6 @@ ```java {{#include docs/examples/java/src/main/java/com/taos/example/Meters.java}} ``` + diff --git a/docs/zh/07-develop/_sub_java.mdx b/docs/zh/07-develop/_sub_java.mdx index e5e46b2af0..9f1fa5bdd9 100644 --- a/docs/zh/07-develop/_sub_java.mdx +++ b/docs/zh/07-develop/_sub_java.mdx @@ -1,5 +1,6 @@ + ```java {{#include docs/examples/java/src/main/java/com/taos/example/SubscribeDemo.java}} ``` @@ -9,8 +10,10 @@ ```java {{#include docs/examples/java/src/main/java/com/taos/example/Meters.java}} ``` + + ```java {{#include docs/examples/java/src/main/java/com/taos/example/WebsocketSubscribeDemo.java}} ``` @@ -20,5 +23,6 @@ ```java {{#include docs/examples/java/src/main/java/com/taos/example/Meters.java}} ``` + -- GitLab