From 012728a5f5046b82be289c5685f51005104313b7 Mon Sep 17 00:00:00 2001 From: Leto_b Date: Mon, 9 Jun 2025 17:47:14 +0800 Subject: [PATCH] add github link in nodejs api --- .../Master/Tree/API/Programming-NodeJS-Native-API.md | 4 ++-- src/UserGuide/V1.3.x/API/Programming-NodeJS-Native-API.md | 4 ++-- src/UserGuide/dev-1.3/API/Programming-NodeJS-Native-API.md | 4 ++-- src/UserGuide/latest/API/Programming-NodeJS-Native-API.md | 4 ++-- .../Master/Tree/API/Programming-NodeJS-Native-API.md | 4 ++-- src/zh/UserGuide/V1.3.x/API/Programming-NodeJS-Native-API.md | 4 ++-- .../UserGuide/dev-1.3/API/Programming-NodeJS-Native-API.md | 5 +++-- src/zh/UserGuide/latest/API/Programming-NodeJS-Native-API.md | 4 ++-- 8 files changed, 17 insertions(+), 16 deletions(-) diff --git a/src/UserGuide/Master/Tree/API/Programming-NodeJS-Native-API.md b/src/UserGuide/Master/Tree/API/Programming-NodeJS-Native-API.md index 0c75c75ec..a7f7aff00 100644 --- a/src/UserGuide/Master/Tree/API/Programming-NodeJS-Native-API.md +++ b/src/UserGuide/Master/Tree/API/Programming-NodeJS-Native-API.md @@ -33,7 +33,7 @@ This document will introduce how to generate a native Node.js interface that can ## 2. Generate the Node.js native interface -1. Find the `pom.xml` file in the root directory of the IoTDB source code folder. +1. Find the `pom.xml` file in the root directory of the IoTDB [source code](https://github.com/apache/iotdb) folder. 2. Open the `pom.xml` file and find the following content: ```xml @@ -62,7 +62,7 @@ This document will introduce how to generate a native Node.js interface that can ``` -4. In the root directory of the IoTDB source code folder,run `mvn clean generate-sources`. +4. In the root directory of the IoTDB [source code](https://github.com/apache/iotdb) folder,run `mvn clean generate-sources`. This command will automatically delete the files in `iotdb/iotdb-protocol/thrift/target` and `iotdb/iotdb-protocol/thrift-commons/target`, and repopulate the folder with the newly generated files. The newly generated JavaScript sources will be located in `iotdb/iotdb-protocol/thrift/target/generated-sources-nodejs` in the various modules of the `iotdb-protocol` module. diff --git a/src/UserGuide/V1.3.x/API/Programming-NodeJS-Native-API.md b/src/UserGuide/V1.3.x/API/Programming-NodeJS-Native-API.md index e67f1f0d8..29bab4bd2 100644 --- a/src/UserGuide/V1.3.x/API/Programming-NodeJS-Native-API.md +++ b/src/UserGuide/V1.3.x/API/Programming-NodeJS-Native-API.md @@ -30,7 +30,7 @@ This document will introduce how to generate a native Node.js interface that can ## Generate the Node.js native interface -1. Find the `pom.xml` file in the root directory of the IoTDB source code folder. +1. Find the `pom.xml` file in the root directory of the IoTDB [source code](https://github.com/apache/iotdb) folder. 2. Open the `pom.xml` file and find the following content: ```xml @@ -63,7 +63,7 @@ This document will introduce how to generate a native Node.js interface that can ``` -4. In the root directory of the IoTDB source code folder,run `mvn clean generate-sources`. +4. In the root directory of the IoTDB [source code](https://github.com/apache/iotdb) folder,run `mvn clean generate-sources`. This command will automatically delete the files in `iotdb/iotdb-protocol/thrift/target` and `iotdb/iotdb-protocol/thrift-commons/target`, and repopulate the folder with the newly generated files. The newly generated JavaScript sources will be located in `iotdb/iotdb-protocol/thrift/target/generated-sources-nodejs` in the various modules of the `iotdb-protocol` module. diff --git a/src/UserGuide/dev-1.3/API/Programming-NodeJS-Native-API.md b/src/UserGuide/dev-1.3/API/Programming-NodeJS-Native-API.md index e67f1f0d8..29bab4bd2 100644 --- a/src/UserGuide/dev-1.3/API/Programming-NodeJS-Native-API.md +++ b/src/UserGuide/dev-1.3/API/Programming-NodeJS-Native-API.md @@ -30,7 +30,7 @@ This document will introduce how to generate a native Node.js interface that can ## Generate the Node.js native interface -1. Find the `pom.xml` file in the root directory of the IoTDB source code folder. +1. Find the `pom.xml` file in the root directory of the IoTDB [source code](https://github.com/apache/iotdb) folder. 2. Open the `pom.xml` file and find the following content: ```xml @@ -63,7 +63,7 @@ This document will introduce how to generate a native Node.js interface that can ``` -4. In the root directory of the IoTDB source code folder,run `mvn clean generate-sources`. +4. In the root directory of the IoTDB [source code](https://github.com/apache/iotdb) folder,run `mvn clean generate-sources`. This command will automatically delete the files in `iotdb/iotdb-protocol/thrift/target` and `iotdb/iotdb-protocol/thrift-commons/target`, and repopulate the folder with the newly generated files. The newly generated JavaScript sources will be located in `iotdb/iotdb-protocol/thrift/target/generated-sources-nodejs` in the various modules of the `iotdb-protocol` module. diff --git a/src/UserGuide/latest/API/Programming-NodeJS-Native-API.md b/src/UserGuide/latest/API/Programming-NodeJS-Native-API.md index 0c75c75ec..a7f7aff00 100644 --- a/src/UserGuide/latest/API/Programming-NodeJS-Native-API.md +++ b/src/UserGuide/latest/API/Programming-NodeJS-Native-API.md @@ -33,7 +33,7 @@ This document will introduce how to generate a native Node.js interface that can ## 2. Generate the Node.js native interface -1. Find the `pom.xml` file in the root directory of the IoTDB source code folder. +1. Find the `pom.xml` file in the root directory of the IoTDB [source code](https://github.com/apache/iotdb) folder. 2. Open the `pom.xml` file and find the following content: ```xml @@ -62,7 +62,7 @@ This document will introduce how to generate a native Node.js interface that can ``` -4. In the root directory of the IoTDB source code folder,run `mvn clean generate-sources`. +4. In the root directory of the IoTDB [source code](https://github.com/apache/iotdb) folder,run `mvn clean generate-sources`. This command will automatically delete the files in `iotdb/iotdb-protocol/thrift/target` and `iotdb/iotdb-protocol/thrift-commons/target`, and repopulate the folder with the newly generated files. The newly generated JavaScript sources will be located in `iotdb/iotdb-protocol/thrift/target/generated-sources-nodejs` in the various modules of the `iotdb-protocol` module. diff --git a/src/zh/UserGuide/Master/Tree/API/Programming-NodeJS-Native-API.md b/src/zh/UserGuide/Master/Tree/API/Programming-NodeJS-Native-API.md index 7e453fbcf..ccb096228 100644 --- a/src/zh/UserGuide/Master/Tree/API/Programming-NodeJS-Native-API.md +++ b/src/zh/UserGuide/Master/Tree/API/Programming-NodeJS-Native-API.md @@ -42,7 +42,7 @@ http://thrift.apache.org/docs/install/ ## 2. 编译 thrift 库,生成 Node.js 原生接口 -1. 在 IoTDB 源代码文件夹的根目录中找到 pom.xml 文件。 +1. 在 IoTDB [源代码](https://github.com/apache/iotdb) 文件夹的根目录中找到 pom.xml 文件。 2. 打开 pom.xml 文件,找到以下内容: ```xml @@ -78,7 +78,7 @@ http://thrift.apache.org/docs/install/ ``` -4. 在 IoTDB 源代码文件夹的根目录下,运行`mvn clean generate-sources`, +4. 在 IoTDB [源代码](https://github.com/apache/iotdb) 文件夹的根目录下,运行`mvn clean generate-sources`, 这个指令将自动删除`iotdb/iotdb-protocol/thrift/target` 和 `iotdb/iotdb-protocol/thrift-commons/target`中的文件,并使用新生成的 thrift 文件重新填充该文件夹。 diff --git a/src/zh/UserGuide/V1.3.x/API/Programming-NodeJS-Native-API.md b/src/zh/UserGuide/V1.3.x/API/Programming-NodeJS-Native-API.md index 3bd4e132e..3bc0db100 100644 --- a/src/zh/UserGuide/V1.3.x/API/Programming-NodeJS-Native-API.md +++ b/src/zh/UserGuide/V1.3.x/API/Programming-NodeJS-Native-API.md @@ -42,7 +42,7 @@ http://thrift.apache.org/docs/install/ ## 编译 thrift 库,生成 Node.js 原生接口 -1. 在 IoTDB 源代码文件夹的根目录中找到 pom.xml 文件。 +1. 在 IoTDB [源代码](https://github.com/apache/iotdb) 文件夹的根目录中找到 pom.xml 文件。 2. 打开 pom.xml 文件,找到以下内容: ```xml @@ -78,7 +78,7 @@ http://thrift.apache.org/docs/install/ ``` -4. 在 IoTDB 源代码文件夹的根目录下,运行`mvn clean generate-sources`, +4. 在 IoTDB [源代码](https://github.com/apache/iotdb) 文件夹的根目录下,运行`mvn clean generate-sources`, 这个指令将自动删除`iotdb/iotdb-protocol/thrift/target` 和 `iotdb/iotdb-protocol/thrift-commons/target`中的文件,并使用新生成的 thrift 文件重新填充该文件夹。 diff --git a/src/zh/UserGuide/dev-1.3/API/Programming-NodeJS-Native-API.md b/src/zh/UserGuide/dev-1.3/API/Programming-NodeJS-Native-API.md index 3bd4e132e..cd3401811 100644 --- a/src/zh/UserGuide/dev-1.3/API/Programming-NodeJS-Native-API.md +++ b/src/zh/UserGuide/dev-1.3/API/Programming-NodeJS-Native-API.md @@ -42,7 +42,8 @@ http://thrift.apache.org/docs/install/ ## 编译 thrift 库,生成 Node.js 原生接口 -1. 在 IoTDB 源代码文件夹的根目录中找到 pom.xml 文件。 + +1. 在 IoTDB [源代码](https://github.com/apache/iotdb) 文件夹的根目录中找到 pom.xml 文件。 2. 打开 pom.xml 文件,找到以下内容: ```xml @@ -78,7 +79,7 @@ http://thrift.apache.org/docs/install/ ``` -4. 在 IoTDB 源代码文件夹的根目录下,运行`mvn clean generate-sources`, +4. 在 IoTDB [源代码](https://github.com/apache/iotdb) 文件夹的根目录下,运行`mvn clean generate-sources`, 这个指令将自动删除`iotdb/iotdb-protocol/thrift/target` 和 `iotdb/iotdb-protocol/thrift-commons/target`中的文件,并使用新生成的 thrift 文件重新填充该文件夹。 diff --git a/src/zh/UserGuide/latest/API/Programming-NodeJS-Native-API.md b/src/zh/UserGuide/latest/API/Programming-NodeJS-Native-API.md index 7e453fbcf..ccb096228 100644 --- a/src/zh/UserGuide/latest/API/Programming-NodeJS-Native-API.md +++ b/src/zh/UserGuide/latest/API/Programming-NodeJS-Native-API.md @@ -42,7 +42,7 @@ http://thrift.apache.org/docs/install/ ## 2. 编译 thrift 库,生成 Node.js 原生接口 -1. 在 IoTDB 源代码文件夹的根目录中找到 pom.xml 文件。 +1. 在 IoTDB [源代码](https://github.com/apache/iotdb) 文件夹的根目录中找到 pom.xml 文件。 2. 打开 pom.xml 文件,找到以下内容: ```xml @@ -78,7 +78,7 @@ http://thrift.apache.org/docs/install/ ``` -4. 在 IoTDB 源代码文件夹的根目录下,运行`mvn clean generate-sources`, +4. 在 IoTDB [源代码](https://github.com/apache/iotdb) 文件夹的根目录下,运行`mvn clean generate-sources`, 这个指令将自动删除`iotdb/iotdb-protocol/thrift/target` 和 `iotdb/iotdb-protocol/thrift-commons/target`中的文件,并使用新生成的 thrift 文件重新填充该文件夹。