commit | 8d0b229e78b124c1e250c17299c6a3efa822fefb | [log] [tgz] |
---|---|---|
author | Krisztián Szűcs <szucs.krisztian@gmail.com> | Fri Sep 28 05:51:02 2018 -0400 |
committer | Wes McKinney <wesm+git@apache.org> | Fri Sep 28 05:51:02 2018 -0400 |
tree | d58a5b50942ef8b64a7316d1b841d8787ea04476 | |
parent | 5789e5358c5250d08051b97069f0b99797987769 [diff] |
ARROW-3013: [Website] Fix download links on website for tarballs, checksums I'm not sure why the signatures are missing from: - https://www.apache.org/dyn/closer.cgi/arrow/arrow-0.10.0/ - https://www.apache.org/dyn/closer.cgi/arrow/arrow-0.10.0/binaries Perhaps signatures are not supposed to be distributed with `dyn` mirroring. The new links will point to sha256 and sha512 signatures per ASF policy, see recent change https://github.com/apache/arrow/pull/2584 Author: Krisztián Szűcs <szucs.krisztian@gmail.com> Closes #2613 from kszucs/ARROW-3013 and squashes the following commits: 7a7bbb944 <Krisztián Szűcs> slightly rename verification links ec5757b40 <Krisztián Szűcs> asc, sha256, sha512 215e59431 <Krisztián Szűcs> fix sha256 link bfb92ff31 <Krisztián Szűcs> switch to sha256 andh sha512 checksum linnks on site
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.