Skip to content
Permalink
Browse files
Add all files from hive.git/docs to gh-pages branch of hive.git
  • Loading branch information
gmcdonald committed Jan 21, 2022
1 parent 55711e6 commit 360d200567c914d236de0f72777522f17f7b74e4
Show file tree
Hide file tree
Showing 24 changed files with 1,315 additions and 1 deletion.
@@ -0,0 +1,51 @@
# 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.

# Hive site builder
#

FROM ubuntu:18.04
MAINTAINER Hive team <dev@hive.apache.org>

RUN ln -fs /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
RUN apt-get update
RUN apt-get install -y \
g++ \
gcc \
git \
libssl-dev \
libz-dev \
make \
ruby-dev \
rubygems \
tzdata
RUN gem install \
bundler \
liquid \
listen \
rouge
RUN gem install jekyll -v 3.8.6
RUN gem install github-pages

RUN useradd -ms /bin/bash hive
COPY . /home/hive/site
RUN chown -R hive:hive /home/hive
USER hive
WORKDIR /home/hive/site

EXPOSE 4000
CMD bundle exec jekyll serve -H 0.0.0.0

@@ -0,0 +1,3 @@
source 'https://rubygems.org'
gem 'rouge'
gem 'jekyll', "~> 3.8.3"
@@ -1 +1,24 @@
# hive-site
# Apache Hive docs site

This directory contains the code for the Apache Hive web site,
[hive.apache.org](https://hive.apache.org/). The easiest way to build
the site is to use docker to use a standard environment.

## Run the docker container with the preview of the site.

1. `docker build -t hive-site .`
2. `CONTAINER=$(docker run -d -p 4000:4000 hive-site)`

## Browsing

Look at the site by navigating to
[http://0.0.0.0:4000/](http://0.0.0.0:4000/) .

## Pushing to site

Commit and push the changes to the main branch. The site is automatically deployed
from the site directory.

## Shutting down the docker container

1. `docker stop $CONTAINER`
@@ -0,0 +1,17 @@
markdown: kramdown
highlighter: rouge
permalink: /news/:year/:month/:day/:title
excerpt_separator: ""
encoding: utf-8
exclude: [README.md, Gemfile*, Dockerfile]

repository: https://github.com/apache/hive
jira: https://issues.apache.org/jira/browse
dist: https://downloads.apache.org/hive
dist_mirror: https://www.apache.org/dyn/closer.cgi/hive
tag_url: https://github.com/apache/hive/releases/tag/rel
dist_archive: https://archive.apache.org/dist/hive
apache: https://www.apache.org/
license: https://www.apache.org/licenses/LICENSE-2.0.html
wiki: https://cwiki.apache.org/confluence/display/Hive/
old_javadoc: https://svn.apache.org/repos/infra/websites/production/hive/content/javadocs
@@ -0,0 +1,14 @@
<div id="footera">
<div id="poweredby">
<p><img src="{{ '/images/feather_small.gif' | relative_url }}"/></p>
</div>
<div id="copyrighta">
<p>
Copyright &copy; 2011-2014 The Apache Software Foundation Licensed under the <a href="{{ site.license }}">Apache License, Version 2.0</a>
</p>
<p>
Apache Hive, Hive, Apache, the Apache feather logo, and the Apache Hive project logo are trademarks of The Apache Software Foundation.
Other names appearing on the site may be trademarks of their respective owners.
</p>
</div>
</div>
@@ -0,0 +1,5 @@
<div id="banner">
<div id="bannerleft"><a alt="Apache Hive" href="{{ '/index.html' | relative_url }}">
<img id="logo" alt="Apache Hive" src="{{ '/images/hive_logo_medium.jpg' | relative_url }}"/></a>
</div>
</div>
@@ -0,0 +1,50 @@
<div id="sidenav">
<h1>General</h1>
<ul>
<li><a href="{{ '/index.html' | relative_url }}">Home</a></li>
<li><a href="{{ '/downloads.html' | relative_url }}">Downloads</a></li>
<li><a href="{{ site.license }}">License</a></li>
<li><a href="{{ '/privacy_policy.html' | relative_url }}">Privacy Policy</a></li>
</ul>

<h1>Documentation</h1>
<ul>
<li><a href="{{ site.wiki }}/LanguageManual">Language Manual</a></li>
<li><a href="{{ '/javadoc.html' | relative_url }}">Javadoc</a></li>
<li><a href="{{ site.wiki }}">Wiki</a></li>
</ul>

<h1>Community</h1>
<ul>
<li><a href="{{ site.wiki }}/BecomingACommitter">Becoming a Committer</a></li>
<li><a href="{{ site.wiki }}/How+to+edit+the+website">Edit Website</a></li>
<li><a href="{{ site.wiki }}/HowToContribute">How to Contribute</a></li>
<li><a href="{{ site.wiki }}/Home#Home-ResourcesforContributors">Resources for contributors</a></li>
<li><a href="{{ '/issue_tracking.html' | relative_url }}">Issue Tracking</a></li>
<li><a href="{{ '/mailing_lists.html' | relative_url }}">Mailing Lists</a></li>
<li><a href="{{ '/people.html' | relative_url }}">People</a></li>
</ul>

<h1>Development</h1>
<ul>
<li><a href="{{ site.wiki }}/DesignDocs">Design Docs</a></li>
<li><a href="{{ site.wiki }}/HiveDeveloperFAQ">FAQ</a></li>
<li><a href="{{ site.jira }}/HIVE">Hive JIRA</a></li>
<li><a href="{{ site.wiki }}/Hive+PreCommit+Patch+Testing">Precommit Patch Testing</a></li>
<li><a href="{{ '/version_control.html' | relative_url }}">Version Control</a></li>
</ul>

<h1>PMC</h1>
<ul>
<li><a href="{{ site.wiki }}/Bylaws">ByLaws</a></li>
<li><a href="{{ site.wiki }}/HowToRelease">How to Release</a></li>
</ul>

<h1>ASF</h1>
<ul>
<li><a href="{{ site.apache }}/foundation/contributing.html">Donations</a></li>
<li><a href="{{ site.apache }}/foundation/sponsorship.html">Sponsorship</a></li>
<li><a href="{{ site.apache }}/foundation/thanks.html">Thanks</a></li>
<li><a href="{{ site.apache }}">Website</a></li>
</ul>
</div>
@@ -0,0 +1,21 @@
<head>
<meta charset="UTF-8"/>
<meta name="generator" content="Jekyll v{{ jekyll.version }}"/>
<title>{{ page.title }}</title>
<link href="{{ '/favicon.ico' | relative_url }}" rel="icon" type="image/x-icon"/>
<link href="{{ '/css/hive.css' | relative_url }}" rel="stylesheet" type="text/css" />
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-7453027-1']);
_gaq.push(['_setDomainName', 'apache.org']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>
</head>
@@ -0,0 +1,19 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

{% include top.html %}

<body>
{% include header.html %}

<div id="clear"/>
{% include sidenav.html %}

<div id="contenta">
<h1>{{ page.title }}</h1>
{{ content }}
</div>

{% include footer.html %}
</body>
</html>

0 comments on commit 360d200

Please sign in to comment.