commit | 7df563cf838dd6dee214769002771c62bfeb9edf | [log] [tgz] |
---|---|---|
author | Kenji Okimoto <okimoto@clear-code.com> | Mon Jul 23 14:21:15 2018 -0400 |
committer | Wes McKinney <wesm+git@apache.org> | Mon Jul 23 14:21:15 2018 -0400 |
tree | 8733859191194691492fe9d1df634e58d0bf62de | |
parent | 6032e2b17e3df4f5c0a4eb56fb5126738de55e9c [diff] |
ARROW-2897: [Packaging] Organize supported Ubuntu versions See https://github.com/red-data-tools/packages.red-data-tools.org#supported-platforms Author: Kenji Okimoto <okimoto@clear-code.com> Closes #2307 from okkez/ubuntu-bionic and squashes the following commits: 8fd66f8c <Kenji Okimoto> Organize supported Ubuntu versions
If you are planning to publish the website, you must first clone the arrow-site git repository:
git clone --branch=asf-site https://git-wip-us.apache.org/repos/asf/arrow-site.git asf-site
Now, with Ruby >= 2.1 installed, run:
gem install jekyll bundler bundle install # This imports the format Markdown documents so they will be rendered scripts/sync_format_docs.sh bundle exec jekyll serve
After following the above instructions the base site/
directory, run:
JEKYLL_ENV=production bundle exec jekyll build rsync -r build/ asf-site/ cd asf-site git status
Now git add
any new files, then commit everything, and push:
git push
To update the documentation, run the script ./dev/gen_apidocs.sh
. This script will run the code documentation tools in a fixed environment.
First, build Apache Arrow C++ and Apache Arrow GLib.
mkdir -p ../cpp/build cd ../cpp/build cmake .. -DCMAKE_BUILD_TYPE=debug make cd ../../c_glib ./autogen.sh ./configure \ --with-arrow-cpp-build-dir=$PWD/../cpp/build \ --with-arrow-cpp-build-type=debug \ --enable-gtk-doc LD_LIBRARY_PATH=$PWD/../cpp/build/debug make GTK_DOC_V_XREF=": " rsync -r doc/reference/html/ ../site/asf-site/docs/c_glib/
cd ../js npm run doc rsync -r doc/ ../site/asf-site/docs/js
Then add/commit/push from the site/asf-site git checkout.