aaronmarkham commented on a change in pull request #9878: Docs build all 
versions refactor
URL: https://github.com/apache/incubator-mxnet/pull/9878#discussion_r170493135
 
 

 ##########
 File path: docs/build_version_doc/build_all_version.sh
 ##########
 @@ -59,27 +65,8 @@ for tag in $tag_list; do
     make clean
     cd docs
     make clean
-    make html USE_OPENMP=0 || exit 1
-    python build_version_doc/AddVersion.py --file_path "_build/html/" 
--current_version "$tag" || exit 1
-
-    if [ $tag != 'master' ]
-    then 
-        python build_version_doc/AddPackageLink.py --file_path 
"_build/html/get_started/install.html" \
-                                                   --current_version "$tag" || 
exit 1
-    fi
-
-    if [ $version_num == 0 ]
-    then
-        cp -a _build/html/. "../../$built"
-    else
-        file_loc="../../$built/versions/$tag"
-        mkdir "$file_loc"
-        cp -a _build/html/. "$file_loc"
-    fi
+    make html USE_OPENMP=1 || exit 1
 
     ((++version_num))
 done
-    
-mv "$tag_file" "../../$built/tag.txt"
-cd ../..
-rm -rf "$mxnet_folder"
+
 
 Review comment:
   Added.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to