Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fixed docs/website build checkout bug (#12413)
Browse files Browse the repository at this point in the history
* fixed checkout bug; fixed echo statement

* turning off clojure docs for v1.2.0
  • Loading branch information
aaronmarkham authored and szha committed Aug 31, 2018
1 parent 4033cdd commit 5ace01c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/build_version_doc/build_all_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function checkout () {
# Overriding configs later will cause a conflict here, so stashing...
git stash
# Fails to checkout if not available locally, so try upstream
git checkout "$repo_folder" || git branch $repo_folder "upstream/$repo_folder"
git checkout "$repo_folder" || git branch $repo_folder "upstream/$repo_folder" && git checkout "$repo_folder" || exit 1
if [ $tag == 'master' ]; then
git pull
fi
Expand Down Expand Up @@ -174,4 +174,4 @@ done

echo "Now you may want to run update_all_version.sh to create the production layout with the versions dropdown and other per-version corrections."
echo "The following pattern is recommended (tags, default tag, url base):"
echo "./update_all_version.sh "$tags_to_display " master http://mxnet.incubator.apache.org/"
echo "./update_all_version.sh \"$2\" master http://mxnet.incubator.apache.org/"
2 changes: 1 addition & 1 deletion docs/settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ r_docs = 0
scala_docs = 1

[document_sets_v1.2.0]
clojure_docs = 1
clojure_docs = 0
doxygen_docs = 1
r_docs = 0
scala_docs = 1
Expand Down

0 comments on commit 5ace01c

Please sign in to comment.