You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2021/11/18 13:48:34 UTC

[iotdb] branch site_fix created (now bec67ad)

This is an automated email from the ASF dual-hosted git repository.

haonan pushed a change to branch site_fix
in repository https://gitbox.apache.org/repos/asf/iotdb.git.


      at bec67ad  Fix website build errors

This branch includes the following new commits:

     new bec67ad  Fix website build errors

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[iotdb] 01/01: Fix website build errors

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch site_fix
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit bec67ada6187138490c92ce83cbd3d6c4697033c
Author: HTHou <hh...@outlook.com>
AuthorDate: Thu Nov 18 21:47:33 2021 +0800

    Fix website build errors
---
 site/pom.xml                      | 154 +-------------------------------------
 site/src/main/.vuepress/config.js |   4 +-
 2 files changed, 4 insertions(+), 154 deletions(-)

diff --git a/site/pom.xml b/site/pom.xml
index 1c9a1b2..c0b8e27 100644
--- a/site/pom.xml
+++ b/site/pom.xml
@@ -372,7 +372,7 @@
                                 </configuration>
                             </execution>
                             <!-- remove files if `existing` folder exist-->
-                            <execution>
+                            <!--<execution>
                                 <id>clean-stale-master-doc</id>
                                 <phase>compile</phase>
                                 <goals>
@@ -393,7 +393,7 @@
                                     <sourceFile>${project.build.directory}/existing/zh/UserGuide/Master</sourceFile>
                                     <destinationFile>${project.build.directory}/existing/zh/Master</destinationFile>
                                 </configuration>
-                            </execution>
+                            </execution>-->
                             <execution>
                                 <id>copy-asf-yaml</id>
                                 <phase>compile</phase>
@@ -502,36 +502,6 @@
                             </execution>
                         </executions>
                     </plugin>
-                    <!-- remove files if `existing` folder exist-->
-                    <plugin>
-                        <groupId>com.coderplus.maven.plugins</groupId>
-                        <artifactId>copy-rename-maven-plugin</artifactId>
-                        <version>1.0.1</version>
-                        <executions>
-                            <execution>
-                                <id>clean-stale-0.12-doc</id>
-                                <phase>compile</phase>
-                                <goals>
-                                    <goal>rename</goal>
-                                </goals>
-                                <configuration>
-                                    <sourceFile>${project.build.directory}/existing/UserGuide/V0.12.x</sourceFile>
-                                    <destinationFile>${project.build.directory}/existing/V0.12.x</destinationFile>
-                                </configuration>
-                            </execution>
-                            <execution>
-                                <id>clean-stale-0.12-zh-doc</id>
-                                <phase>compile</phase>
-                                <goals>
-                                    <goal>rename</goal>
-                                </goals>
-                                <configuration>
-                                    <sourceFile>${project.build.directory}/existing/zh/UserGuide/V0.12.x</sourceFile>
-                                    <destinationFile>${project.build.directory}/existing/zh/V0.12.x</destinationFile>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
                 </plugins>
             </build>
         </profile>
@@ -596,36 +566,6 @@
                             </execution>
                         </executions>
                     </plugin>
-                    <!-- remove files if `existing` folder exist-->
-                    <plugin>
-                        <groupId>com.coderplus.maven.plugins</groupId>
-                        <artifactId>copy-rename-maven-plugin</artifactId>
-                        <version>1.0.1</version>
-                        <executions>
-                            <execution>
-                                <id>clean-stale-0.11-doc</id>
-                                <phase>compile</phase>
-                                <goals>
-                                    <goal>rename</goal>
-                                </goals>
-                                <configuration>
-                                    <sourceFile>${project.build.directory}/existing/UserGuide/V0.11.x</sourceFile>
-                                    <destinationFile>${project.build.directory}/existing/V0.11.x</destinationFile>
-                                </configuration>
-                            </execution>
-                            <execution>
-                                <id>clean-stale-0.11-zh-doc</id>
-                                <phase>compile</phase>
-                                <goals>
-                                    <goal>rename</goal>
-                                </goals>
-                                <configuration>
-                                    <sourceFile>${project.build.directory}/existing/zh/UserGuide/V0.11.x</sourceFile>
-                                    <destinationFile>${project.build.directory}/existing/zh/V0.11.x</destinationFile>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
                 </plugins>
             </build>
         </profile>
@@ -690,36 +630,6 @@
                             </execution>
                         </executions>
                     </plugin>
-                    <!-- remove files if `existing` folder exist-->
-                    <plugin>
-                        <groupId>com.coderplus.maven.plugins</groupId>
-                        <artifactId>copy-rename-maven-plugin</artifactId>
-                        <version>1.0.1</version>
-                        <executions>
-                            <execution>
-                                <id>clean-stale-0.10-doc</id>
-                                <phase>compile</phase>
-                                <goals>
-                                    <goal>rename</goal>
-                                </goals>
-                                <configuration>
-                                    <sourceFile>${project.build.directory}/existing/UserGuide/V0.10.x</sourceFile>
-                                    <destinationFile>${project.build.directory}/existing/V0.10.x</destinationFile>
-                                </configuration>
-                            </execution>
-                            <execution>
-                                <id>clean-stale-0.10-zh-doc</id>
-                                <phase>compile</phase>
-                                <goals>
-                                    <goal>rename</goal>
-                                </goals>
-                                <configuration>
-                                    <sourceFile>${project.build.directory}/existing/zh/UserGuide/V0.10.x</sourceFile>
-                                    <destinationFile>${project.build.directory}/existing/zh/V0.10.x</destinationFile>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
                 </plugins>
             </build>
         </profile>
@@ -784,36 +694,6 @@
                             </execution>
                         </executions>
                     </plugin>
-                    <!-- remove files if `existing` folder exist-->
-                    <plugin>
-                        <groupId>com.coderplus.maven.plugins</groupId>
-                        <artifactId>copy-rename-maven-plugin</artifactId>
-                        <version>1.0.1</version>
-                        <executions>
-                            <execution>
-                                <id>clean-stale-0.9-doc</id>
-                                <phase>compile</phase>
-                                <goals>
-                                    <goal>rename</goal>
-                                </goals>
-                                <configuration>
-                                    <sourceFile>${project.build.directory}/existing/UserGuide/V0.9.x</sourceFile>
-                                    <destinationFile>${project.build.directory}/existing/V0.9.x</destinationFile>
-                                </configuration>
-                            </execution>
-                            <execution>
-                                <id>clean-stale-0.9-zh-doc</id>
-                                <phase>compile</phase>
-                                <goals>
-                                    <goal>rename</goal>
-                                </goals>
-                                <configuration>
-                                    <sourceFile>${project.build.directory}/existing/zh/UserGuide/V0.9.x</sourceFile>
-                                    <destinationFile>${project.build.directory}/existing/zh/V0.9.x</destinationFile>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
                 </plugins>
             </build>
         </profile>
@@ -878,36 +758,6 @@
                             </execution>
                         </executions>
                     </plugin>
-                    <!-- remove files if `existing` folder exist-->
-                    <plugin>
-                        <groupId>com.coderplus.maven.plugins</groupId>
-                        <artifactId>copy-rename-maven-plugin</artifactId>
-                        <version>1.0.1</version>
-                        <executions>
-                            <execution>
-                                <id>clean-stale-0.8-doc</id>
-                                <phase>compile</phase>
-                                <goals>
-                                    <goal>rename</goal>
-                                </goals>
-                                <configuration>
-                                    <sourceFile>${project.build.directory}/existing/UserGuide/V0.8.x</sourceFile>
-                                    <destinationFile>${project.build.directory}/existing/V0.8.x</destinationFile>
-                                </configuration>
-                            </execution>
-                            <execution>
-                                <id>clean-stale-0.8-zh-doc</id>
-                                <phase>compile</phase>
-                                <goals>
-                                    <goal>rename</goal>
-                                </goals>
-                                <configuration>
-                                    <sourceFile>${project.build.directory}/existing/zh/UserGuide/V0.8.x</sourceFile>
-                                    <destinationFile>${project.build.directory}/existing/zh/V0.8.x</destinationFile>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
                 </plugins>
             </build>
         </profile>
diff --git a/site/src/main/.vuepress/config.js b/site/src/main/.vuepress/config.js
index 78b1ea9..fcb018e 100644
--- a/site/src/main/.vuepress/config.js
+++ b/site/src/main/.vuepress/config.js
@@ -667,7 +667,7 @@ var config = {
 						sidebarDepth: 2,
 						children: [
 							['Data-Concept/Data-Model-and-Terminology','Data Model and Terminology'],
-							['Data-Concept/Measurement-Template','Measurement Template'],
+							['Data-Concept/Schema-Template','Schema Template'],
 							['Data-Concept/Data-Type','Data Type'],
 							['Data-Concept/Encoding','Encoding'],
 							['Data-Concept/Compression','Compression'],
@@ -1465,7 +1465,7 @@ var config = {
 						sidebarDepth: 2,
 						children: [
 							['Data-Concept/Data-Model-and-Terminology','数据模型'],
-							['Data-Concept/Measurement-Template','物理量模板'],
+							['Data-Concept/Schema-Template','元数据模板'],
 							['Data-Concept/Data-Type','数据类型'],
 							['Data-Concept/Encoding','编码方式'],
 							['Data-Concept/Compression','压缩方式'],