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:13 UTC

[incubator-mxnet-test] 25/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 71e61feb066331027f143a227b83ef8d356ff894
Author: Wang <wa...@9801a7a9c287.ant.amazon.com>
AuthorDate: Fri Jul 28 13:19:56 2017 -0700

    Fix
---
 docs/build_version_doc/build_doc.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/build_version_doc/build_doc.sh b/docs/build_version_doc/build_doc.sh
index 9881f52..280f490 100755
--- a/docs/build_version_doc/build_doc.sh
+++ b/docs/build_version_doc/build_doc.sh
@@ -35,7 +35,7 @@ then
     echo -e "$latest_tag\n$(cat $tag_list_file)" > "$tag_list_file"
     cat $tag_list_file
     cd "docs/build_version_doc"
-    python AddVersion.py --file_path "$../_build/html/"
+    python AddVersion.py --file_path "../_build/html/" --current_version "$latest_tag"
     cd ../..
     cp -a "docs/_build/html/." "$local_build"
     cp $tag_list_file "$local_build/tag.txt"
@@ -56,11 +56,12 @@ make docs || exit 1
 
 rm -rfv "$web_folder/versions/master/*"
 cp -a "docs/_build/html/." "$web_folder/versions/master"
+cd "docs/build_version_doc"
+python AddVersion.py --file_path "../../$web_folder/versions/master"
 
 if [ $latest_tag != ${tag_list[0]} ]
 then
     total=${#tag_list[*]}
-    cd "docs/build_version_doc"
     for (( i=0; i<=$(( $total -1 )); i++ ))
     do
         python AddVersion.py --file_path "../../$web_folder/versions/${tag_list[$i]}" \

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