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

qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 7193589  change default version of website documents to 0.8.0
     new 81a14e8  Merge pull request #27 from samperson1997/default_version
7193589 is described below

commit 7193589f5c9e330ba0c3ddf97035d8c6dd58d621
Author: 151250128 <[email protected]>
AuthorDate: Mon Jul 22 15:14:00 2019 +0800

    change default version of website documents to 0.8.0
---
 src/components/Global.vue | 2 +-
 src/components/NavBar.vue | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/Global.vue b/src/components/Global.vue
index de38c40..24bfecf 100644
--- a/src/components/Global.vue
+++ b/src/components/Global.vue
@@ -10,7 +10,7 @@
   const DOC_URL_PREFIX = 
"https://raw.githubusercontent.com/apache/incubator-iotdb/";;
   const DOC_ENG_PREFIX = "/docs/Documentation";
   const DOC_CHN_PREFIX = "/docs/Documentation-CHN";
-  const DEFAULT_VERSION = "latest";
+  const DEFAULT_VERSION = "0.8.0";
   const LATEST_STR = "latest";
   const SUPPORT_VERSION = {
     "0.8.0": {
diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue
index f494ef5..352b339 100644
--- a/src/components/NavBar.vue
+++ b/src/components/NavBar.vue
@@ -105,7 +105,7 @@
       return {
         "Documents": [
           {"url": "/Documents/Quick Start", "content": "Quick Start"},
-          {"url": "/Documents/latest/chap1/sec1", "content": "User Guide"},
+          {"url": "/Documents/0.8.0/chap1/sec1", "content": "User Guide"},
           {"url": "/Materials", "content": "Other Materials"},
           {"url": "/Documents/Frequently asked questions", "content": 
"Frequently asked questions"}
         ],

Reply via email to