commit | 4e69cea902dc84ccf38278c53db24a85e9c2bd72 | [log] [tgz] |
---|---|---|
author | Korn, Uwe <Uwe.Korn@blue-yonder.com> | Sun Sep 30 18:07:23 2018 -0400 |
committer | Wes McKinney <wesm+git@apache.org> | Sun Sep 30 18:07:23 2018 -0400 |
tree | d8d45ab3f05d6b5538b419eab19ac5244f7808fe | |
parent | 8d0b229e78b124c1e250c17299c6a3efa822fefb [diff] |
ARROW-3301: [Website] Update Jekyll and Bootstrap 4 Screenshot: ![127 0 0 1_4000_ ipad pro](https://user-images.githubusercontent.com/70274/45920083-b2953300-be9f-11e8-84b8-381570ae8245.png) Author: Korn, Uwe <Uwe.Korn@blue-yonder.com> Author: Wes McKinney <wesm+git@apache.org> Closes #2607 from xhochy/ARROW-3301 and squashes the following commits: 0e8949aa1 <Wes McKinney> Simple text about advantages of columnar memory layout 2fb70d63a <Korn, Uwe> Remove placeholder text b92793982 <Korn, Uwe> Add license header to main.js c83e3db6a <Korn, Uwe> ARROW-3301: Update Jekyll and Bootstrap 4
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.