You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by lx...@apache.org on 2017/08/01 14:36:02 UTC

[incubator-mxnet-test] 14/28: Fix

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

lxn2 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet-test.git

commit 54bf21f555f15f380316fb824d958542098f5e71
Author: Wang <wa...@9801a7a9c287.ant.amazon.com>
AuthorDate: Thu Jul 27 14:50:01 2017 -0700

    Fix
---
 docs/_static/mxnet.css              | 2 +-
 docs/build_version_doc/build_doc.sh | 9 ++-------
 2 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/docs/_static/mxnet.css b/docs/_static/mxnet.css
index 8e44daa..17dad62 100644
--- a/docs/_static/mxnet.css
+++ b/docs/_static/mxnet.css
@@ -26,7 +26,7 @@ p {
 
 #language-filter {
     float: right;
-    margin-top: 5px;
+    margin-top: 15px;
 }
 
 li, dt a, dt span {
diff --git a/docs/build_version_doc/build_doc.sh b/docs/build_version_doc/build_doc.sh
index cae1854..4c66413 100755
--- a/docs/build_version_doc/build_doc.sh
+++ b/docs/build_version_doc/build_doc.sh
@@ -20,13 +20,8 @@ done < "$tag_list_file"
 latest_tag=${tag_list[0]}
 echo "latest_tag is: $latest_tag"
 commit_id=$(git rev-parse HEAD)
-if [[ -z "${TAG}" ]]
-then
-    curr_tag=''
-else
-    curr_tag='${TAG:4}'
-fi
-if [[ "$curr_tag" != '' ]] && [ $curr_tag != $latest_tag ]
+curr_tag='${TAG:4}'
+if [[ "$curr_tag" != 'master' ]] && [ $curr_tag != $latest_tag ]
 then
     latest_tag=$curr_tag
 fi

-- 
To stop receiving notification emails like this one, please contact
"commits@mxnet.apache.org" <co...@mxnet.apache.org>.