You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by mp...@apache.org on 2016/07/23 00:23:11 UTC

incubator-kudu git commit: [make_site.h] added C++ client API documentaion

Repository: incubator-kudu
Updated Branches:
  refs/heads/master 14524f84d -> ddc2047f5


[make_site.h] added C++ client API documentaion

The C++ client API documentation is auto-generated by doxygen.
The top-level file is 'index.html' file in the 'cpp_client_api'
sub-directory of the site contents.

Change-Id: I9347f515ed4e1e0e3a5d46c969e57fe4983f17e2
Reviewed-on: http://gerrit.cloudera.org:8080/3729
Reviewed-by: Mike Percy <mp...@apache.org>
Tested-by: Mike Percy <mp...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kudu/commit/ddc2047f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kudu/tree/ddc2047f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kudu/diff/ddc2047f

Branch: refs/heads/master
Commit: ddc2047f57ba4b541cc7156d6b9aa7558ca3818e
Parents: 14524f8
Author: Alexey Serbin <as...@cloudera.com>
Authored: Fri Jul 22 13:21:28 2016 -0700
Committer: Mike Percy <mp...@apache.org>
Committed: Sat Jul 23 00:22:56 2016 +0000

----------------------------------------------------------------------
 docs/support/scripts/make_site.sh | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/ddc2047f/docs/support/scripts/make_site.sh
----------------------------------------------------------------------
diff --git a/docs/support/scripts/make_site.sh b/docs/support/scripts/make_site.sh
index 317973a..b786fbf 100755
--- a/docs/support/scripts/make_site.sh
+++ b/docs/support/scripts/make_site.sh
@@ -45,7 +45,7 @@ $SOURCE_ROOT/build-support/enable_devtoolset.sh \
     -DNO_TESTS=1 \
     -DCMAKE_BUILD_TYPE=$BUILD_TYPE \
     $SOURCE_ROOT
-make -j$(getconf _NPROCESSORS_ONLN)
+make -j$(getconf _NPROCESSORS_ONLN) all doxygen
 
 # Check out the gh-pages repo into $SITE_OUTPUT_DIR
 git clone -q $(git config --get remote.origin.url) --reference $SOURCE_ROOT -b gh-pages --depth 1 "$SITE_OUTPUT_DIR"
@@ -77,9 +77,13 @@ fi
 rm -Rf "$SITE_OUTPUT_DIR/apidocs"
 cp -au "$SOURCE_ROOT/java/target/site/apidocs" "$SITE_OUTPUT_DIR/"
 
+CPP_CLIENT_API_SUBDIR="cpp-client-api"
+rm -Rf "$SITE_OUTPUT_DIR/$CPP_CLIENT_API_SUBDIR"
+cp -a "$SOURCE_ROOT/docs/doxygen/client_api/html" "$SITE_OUTPUT_DIR/$CPP_CLIENT_API_SUBDIR"
+
 cd "$SITE_OUTPUT_DIR"
 SITE_ARCHIVE="$SITE_OUTPUT_DIR/website_archive.zip"
-zip -rq "$SITE_ARCHIVE" docs apidocs
+zip -rq "$SITE_ARCHIVE" docs apidocs "$CPP_CLIENT_API_SUBDIR"
 
 echo "Generated web site at $SITE_OUTPUT_DIR"
 echo "Docs zip generated at $SITE_ARCHIVE"