You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2019/10/26 02:47:21 UTC

[incubator-iotdb-website] branch master updated: Fix download and document page for v0.8.1

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

hxd 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 ad4c7f5  Fix download and document page for v0.8.1
ad4c7f5 is described below

commit ad4c7f5b6c5970849f3df2154383f871f1181c56
Author: samperson1997 <sz...@mails.tsinghua.edu.cn>
AuthorDate: Sat Oct 26 10:44:13 2019 +0800

    Fix download and document page for v0.8.1
---
 src/views/Documents.vue | 2 +-
 src/views/Download.vue  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/views/Documents.vue b/src/views/Documents.vue
index 0eea8b9..1f77823 100644
--- a/src/views/Documents.vue
+++ b/src/views/Documents.vue
@@ -149,7 +149,7 @@
         if (version in Global.SUPPORT_VERSION) {
           let chapter = Number(this.getChapter().substr(4));
           // this is for special case of branch v0.8.0
-          if (version === "0.8.0") {
+          if (version === "0.8.0" || version === "0.8.1") {
             chapter -= 1
           }
           let section = Number(this.getSection().substr(3));
diff --git a/src/views/Download.vue b/src/views/Download.vue
index e8249d8..dc166f6 100644
--- a/src/views/Download.vue
+++ b/src/views/Download.vue
@@ -18,6 +18,7 @@
                                                                     :href="selectVersionObj.binariesASCUrl">ASC</a>]</span>
             </li>
             <li style="margin: 5px" v-if="selectVersionObj.sourcesUrl!==''">
+              Download IoTDB Sources:<a class="link-color" :href="selectVersionObj.sourcesUrl"> {{selectVersionObj.text}} Sources</a>
               <span v-if="selectVersionObj.sourcesSHA512Url!==''">[<a class="link-color"
                                                                       :href="selectVersionObj.sourcesSHA512Url">SHA512</a>]</span>
               <span v-if="selectVersionObj.sourcesASCUrl!==''">[<a class="link-color"