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:51:07 UTC

[iotdb] branch master updated: Fix website build errors (#4427)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new f61937c  Fix website build errors (#4427)
f61937c is described below

commit f61937cd0aed19b8b0967f44099de49c4dc9d92d
Author: Haonan <hh...@outlook.com>
AuthorDate: Thu Nov 18 21:50:33 2021 +0800

    Fix website build errors (#4427)
---
 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','压缩方式'],