commit | 8938441d7f59fb9a0675bf608c9608d6aa9db761 | [log] [tgz] |
---|---|---|
author | Kouhei Sutou <kou@clear-code.com> | Thu Apr 27 21:38:23 2017 -0400 |
committer | Wes McKinney <wes.mckinney@twosigma.com> | Thu Apr 27 21:38:23 2017 -0400 |
tree | d98e3137bb072ce024e2b1e0bec55e4b2806e214 | |
parent | 0d74482c2ce31f6a01f090fbfe4e5dfbaa87d1df [diff] |
ARROW-896: Support Jupyter Notebook in Web site We can embed a Jupyter Notebook (`getting_started.ipynb`) in the same directory by the following code: ```markdown {::nomarkdown} {% jupyter_notebook getting_started.ipynb %} {:/nomarkdown} ``` Author: Kouhei Sutou <kou@clear-code.com> Closes #608 from kou/site-support-jupyter-notebook and squashes the following commits: 12186b1 [Kouhei Sutou] Support Jupyter Notebook in Web 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:
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
cd ../java mvn install mvn site rsync -r target/site/apidocs/ ../site/asf-site/docs/java/
cd ../cpp/apidoc doxygen Doxyfile rsync -r html/ ../../site/asf-site/docs/cpp
First, build PyArrow with all optional extensions (Apache Parquet, jemalloc).
cd ../python python setup.py build_ext --inplace --with-parquet --with-jemalloc python setup.py build_sphinx -s doc/source rsync -r doc/_build/html/ ../site/asf-site/docs/python/
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/
Then add/commit/push from the site/asf-site git checkout.