Skip to content

Apache DataFusion SQL Query Engine

ARROW-893: Add GLib document to Web site

Kouhei Sutoubc4bf7f265f4
diff --git a/site/README.md b/site/README.md
index 3f8da2252f..aeebaa1790 100644
--- a/site/README.md
+++ b/site/README.md
@@ -82,4 +82,23 @@ python setup.py build_sphinx -s doc/source
rsync -r doc/_build/html/ ../site/asf-site/docs/python/
```
-Then add/commit/push from the site/asf-site git checkout.
\ No newline at end of file
+#### C (GLib)
+
+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.
diff --git a/site/_includes/header.html b/site/_includes/header.html
index 5963c22abe..3d61494f2f 100644
--- a/site/_includes/header.html
+++ b/site/_includes/header.html
@@ -28,6 +28,7 @@
<li><a href="{{ site.baseurl }}/docs/cpp">C++</a></li>
<li><a href="{{ site.baseurl }}/docs/java">Java</a></li>
<li><a href="{{ site.baseurl }}/docs/python">Python</a></li>
+ <li><a href="{{ site.baseurl }}/docs/c_glib">C (GLib)</a></li>
</ul>
</li>
<!-- <li><a href="{{ site.baseurl }}/blog">Blog</a></li> -->