Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cpp/apidoc/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ RECURSIVE = YES
# Note that relative paths are relative to the directory from which doxygen is
# run.

EXCLUDE =
EXCLUDE =

# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
# directories that are symbolic links (a Unix file system feature) are excluded
Expand All @@ -908,6 +908,7 @@ EXCLUDE_SYMLINKS = NO
# exclude all test directories for example use the pattern */test/*

EXCLUDE_PATTERNS = *-test.cc \
*_generated.h \
*-benchmark.cc

# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
Expand Down
4 changes: 3 additions & 1 deletion dev/release/run-rat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,15 @@ $RAT $1 \
-e "*.html" \
-e "*.css" \
-e "*.png" \
-e "*.svg" \
-e "*.devhelp2" \
-e "*.scss" \
> rat.txt
cat rat.txt
UNAPPROVED=`cat rat.txt | grep "Unknown Licenses" | head -n 1 | cut -d " " -f 1`

if [ "0" -eq "${UNAPPROVED}" ]; then
echo "No unnaproved licenses"
echo "No unapproved licenses"
else
echo "${UNAPPROVED} unapproved licences. Check rat report: rat.txt"
exit 1
Expand Down
25 changes: 25 additions & 0 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,31 @@

</dependencies>

<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<reportSets>
<reportSet><!-- by default, id = "default" -->
<reports><!-- select non-aggregate reports -->
<report>javadoc</report>
<report>test-javadoc</report>
</reports>
</reportSet>
<reportSet><!-- aggregate reportSet, to define in poms having modules -->
<id>aggregate</id>
<inherited>false</inherited><!-- don't run aggregate in child modules -->
<reports>
<report>aggregate</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>

<modules>
<module>format</module>
<module>memory</module>
Expand Down
6 changes: 6 additions & 0 deletions site/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
_site
.sass-cache
.jekyll-metadata
Gemfile.lock
asf-site
build/
25 changes: 25 additions & 0 deletions site/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to you under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

source "https://rubygems.org"
ruby RUBY_VERSION
gem "jekyll", "3.4.3"
gem 'jekyll-bootstrap-sass'
gem 'github-pages'
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.6"
end
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
85 changes: 85 additions & 0 deletions site/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<!---
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. See accompanying LICENSE file.
-->

## Apache Arrow Website

### Development instructions

If you are planning to publish the website, you must first clone the arrow-site
git repository:

```shell
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:

```shell
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
```

### Publishing

After following the above instructions the base `site/` directory, run:

```shell
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
```

### Updating Code Documentation

#### Java

```
cd ../java
mvn install
mvn site
rsync -r target/site/apidocs/ ../site/asf-site/docs/java/
```

#### C++

```
cd ../cpp/apidoc
doxygen Doxyfile
rsync -r html/ ../../site/asf-site/docs/cpp
```

#### Python

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/
```

Then add/commit/push from the site/asf-site git checkout.
43 changes: 43 additions & 0 deletions site/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to you under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
markdown: kramdown
repository: https://github.com/apache/arrow
destination: build

exclude:
- Gemfile
- Gemfile.lock
- _docs/format/*
- asf-site
- scripts
- README.md

collections:
docs:
output: true

sass:
style: compressed

# The base path where the website is deployed
baseurl:

gems:
- jekyll-feed
- jekyll-bootstrap-sass

bootstrap:
assets: true
1 change: 1 addition & 0 deletions site/_docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
format/
25 changes: 25 additions & 0 deletions site/_docs/ipc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
layout: docs
title: Arrow Messaging and IPC
permalink: /docs/ipc.html
---
<!--
{% comment %}
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}
-->

{% include_relative format/IPC.md %}
25 changes: 25 additions & 0 deletions site/_docs/memory_layout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
layout: docs
title: Physical Memory Layout
permalink: /docs/memory_layout.html
---
<!--
{% comment %}
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}
-->

{% include_relative format/Layout.md %}
25 changes: 25 additions & 0 deletions site/_docs/metadata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
layout: docs
title: Arrow Metadata
permalink: /docs/metadata.html
---
<!--
{% comment %}
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}
-->

{% include_relative format/Metadata.md %}
4 changes: 4 additions & 0 deletions site/_includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<footer class="footer">
<p>Apache Arrow, Arrow, Apache, the Apache feather logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.</p>
<p>&copy; 2017 Apache Software Foundation</p>
</footer>
53 changes: 53 additions & 0 deletions site/_includes/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="{{ site.baseurl }}/">Apache Arrow&#8482;&nbsp;&nbsp;&nbsp;</a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"
role="button" aria-haspopup="true"
aria-expanded="false">Specification<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="{{ site.baseurl }}/docs/memory_layout.html">Memory Layout</a></li>
<li><a href="{{ site.baseurl }}/docs/metadata.html">Metadata</a></li>
<li><a href="{{ site.baseurl }}/docs/ipc.html">Messaging / IPC</a></li>
</ul>
</li>

<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"
role="button" aria-haspopup="true"
aria-expanded="false">Code Documentation<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<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>
</ul>
</li>
<!-- <li><a href="{{ site.baseurl }}/blog">Blog</a></li> -->
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"
role="button" aria-haspopup="true"
aria-expanded="false">ASF Links<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="http://www.apache.org/">ASF Website</a></li>
<li><a href="http://www.apache.org/licenses/">License</a></li>
<li><a href="http://www.apache.org/foundation/sponsorship.html">Donate</a></li>
<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
<li><a href="http://www.apache.org/security/">Security</a></li>
</ul>
</li>
</ul>
<a href="http://www.apache.org/">
<img style="float:right;" src="{{ site.baseurl }}/img/asf_logo.svg" width="120px"/>
</a>
</div><!-- /.navbar-collapse -->
</div>
</nav>
20 changes: 20 additions & 0 deletions site/_includes/top.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>{{ page.title }}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<link rel="icon" type="image/x-icon" href="{{ site.baseurl }}/favicon.ico">

<title>Apache Arrow Homepage</title>
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">

<link href="{{ site.baseurl }}/css/main.css" rel="stylesheet">
<script src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
<script src="{{ site.baseurl }}/assets/javascripts/bootstrap.min.js"></script>
</head>
Loading