This is an automated email from the ASF dual-hosted git repository. sorber pushed a commit to branch 6.2.x in repository https://git-dual.apache.org/repos/asf/trafficserver.git
commit 4d7564b5183fbe52b7a365ec6b37379dea68d9fe Author: Masakazu Kitajo <[email protected]> AuthorDate: Sat May 21 17:46:48 2016 +0900 TS-4466: Specify language explicitly (cherry picked from commit 59fb3d33391bc4f9adc0417099ea96cddac88cba) Conflicts: ci/jenkins/bin/docs.sh --- ci/jenkins/bin/docs.sh | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/ci/jenkins/bin/docs.sh b/ci/jenkins/bin/docs.sh new file mode 100644 index 0000000..6754040 --- /dev/null +++ b/ci/jenkins/bin/docs.sh @@ -0,0 +1,39 @@ +#!/bin/sh +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# These shenanigans are here to allow it to run both manually, and via Jenkins +test -z "${ATS_MAKE}" && ATS_MAKE="make" +test ! -z "${WORKSPACE}" && cd "${WORKSPACE}/src" + +# This avoids redoing the configure on every doc build, which is somewhat annoying +[ ! -f configure ] && autoreconf -fi +[ ! -f config.nice ] && ./configure + +cd doc + +echo "Building English version" +rm -rf docbuild/html +${ATS_MAKE} -e SPHINXOPTS="-D language='en'" html +[ $? != 0 ] && exit 1 +/usr/bin/rsync --delete -av docbuild/html/ /home/docs/en/${ATS_BRANCH} + +echo "Building JA version" +rm -rf docbuild/html +${ATS_MAKE} -e SPHINXOPTS="-D language='ja'" html +[ $? != 0 ] && exit 1 +/usr/bin/rsync --delete -av docbuild/html/ /home/docs/ja/${ATS_BRANCH} -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
