You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hdt.apache.org by ad...@apache.org on 2013/01/10 05:35:43 UTC

[1/3] git commit: Markdown version of the hdt incubating site. This can be used with the ApacheCMS, and for now we are building and committing manually.

Markdown version of the hdt incubating site. This can be used with the ApacheCMS, and for now we are building and committing manually.


Project: http://git-wip-us.apache.org/repos/asf/incubator-hdt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hdt/commit/a043583c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hdt/tree/a043583c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hdt/diff/a043583c

Branch: refs/heads/master
Commit: a043583cde2f0963fd476c7785b61d18e7bee1a1
Parents: bc8b5f2
Author: Adam Berry <am...@yahoo-inc.com>
Authored: Tue Jan 8 21:15:40 2013 -0600
Committer: Adam Berry <am...@yahoo-inc.com>
Committed: Tue Jan 8 21:15:40 2013 -0600

----------------------------------------------------------------------
 site/content/hdt/index.mdtext        |   21 +++++++++++
 site/content/hdt/sitemap.html        |    2 +
 site/lib/path.pm                     |   39 +++++++++++++++++++++
 site/lib/view.pm                     |   23 ++++++++++++
 site/templates/single_narrative.html |    8 ++++
 site/templates/skeleton.html         |   54 +++++++++++++++++++++++++++++
 6 files changed, 147 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a043583c/site/content/hdt/index.mdtext
----------------------------------------------------------------------
diff --git a/site/content/hdt/index.mdtext b/site/content/hdt/index.mdtext
new file mode 100644
index 0000000..fec6c10
--- /dev/null
+++ b/site/content/hdt/index.mdtext
@@ -0,0 +1,21 @@
+Title:     Welcome to Apache Incubator Hadoop Development Tools
+Notice:    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.
+
+Tools to support developing applications that use Apache Hadoop from within Eclipse.
+
+This project is currently in the process of opening in the Apache Incubator, so check back for updates, or come join us [dev@hdt.incubator.apache.org](mailto:dev-subscribe@hdt.incubator.apache.org "Send subscription email").

http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a043583c/site/content/hdt/sitemap.html
----------------------------------------------------------------------
diff --git a/site/content/hdt/sitemap.html b/site/content/hdt/sitemap.html
new file mode 100644
index 0000000..e5e0daa
--- /dev/null
+++ b/site/content/hdt/sitemap.html
@@ -0,0 +1,2 @@
+{% include "single_narrative.html" %}
+

http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a043583c/site/lib/path.pm
----------------------------------------------------------------------
diff --git a/site/lib/path.pm b/site/lib/path.pm
new file mode 100644
index 0000000..93b142e
--- /dev/null
+++ b/site/lib/path.pm
@@ -0,0 +1,39 @@
+package path;
+
+# taken from django's url.py
+
+our @patterns = (
+	[qr!\.mdtext$!, single_narrative => { template => "single_narrative.html" }],
+
+	[qr!/sitemap\.html$!, sitemap => { headers => { title => "Sitemap" }} ],
+
+) ;
+
+# for specifying interdependencies between files
+
+our %dependencies = (
+    "/hdt/sitemap.html" => [ grep s!^content!!, glob "content/*.mdtext" ],
+);
+
+1;
+
+=head1 LICENSE
+
+           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.
+
+

http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a043583c/site/lib/view.pm
----------------------------------------------------------------------
diff --git a/site/lib/view.pm b/site/lib/view.pm
new file mode 100644
index 0000000..e44e6d4
--- /dev/null
+++ b/site/lib/view.pm
@@ -0,0 +1,23 @@
+package view;
+use base 'ASF::View'; # see https://svn.apache.org/repos/infra/websites/cms/build/lib/ASF/View.pm
+
+1;
+
+=head1 LICENSE
+
+           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.

http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a043583c/site/templates/single_narrative.html
----------------------------------------------------------------------
diff --git a/site/templates/single_narrative.html b/site/templates/single_narrative.html
new file mode 100644
index 0000000..ddbd65f
--- /dev/null
+++ b/site/templates/single_narrative.html
@@ -0,0 +1,8 @@
+<html>
+<head><title>{{ headers.title }}</title>
+</head>
+<body>
+<h1>{{ headers.title }}</h1>
+<div id="content">{{ content|markdown }}</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a043583c/site/templates/skeleton.html
----------------------------------------------------------------------
diff --git a/site/templates/skeleton.html b/site/templates/skeleton.html
new file mode 100644
index 0000000..26b0621
--- /dev/null
+++ b/site/templates/skeleton.html
@@ -0,0 +1,54 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html lang="en">
+  <head>
+    <title>{% block title %}{{ headers.title }}{% endblock %}</title>
+
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+    <meta property="og:image" content="http://www.apache.org/images/asf_logo.gif" />
+
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/style.css">
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/code.css">
+
+    {% if headers.atom %}
+      <link rel="alternate" href="{{ headers.atom.url }}"
+            type="application/atom+xml" title="{{ headers.atom.title }}" />
+    {% endif %}
+
+    {% if headers.base %}<base href="{{ headers.base }}" />{% endif %}
+    {% if headers.notice %}<!-- {{ headers.notice }} -->{% endif %}
+  </head>
+
+  <body>
+    <div id="page" class="container_16">
+      <div id="header" class="grid_8">
+        <img src="http://www.apache.org/images/feather-small.gif" alt="The Apache Software Foundation">
+        <h1>The Apache Software Foundation</h1>
+        <h2>{% block tagline %}{{ headers.title }}{% endblock %}</h2>
+      </div>
+      <div id="nav" class="grid_8">
+        <ul>
+          <!-- <li><a href="/" title="Welcome!">Home</a></li> -->
+          <li><a href="http://www.apache.org/foundation/" title="The Foundation">Foundation</a></li>
+          <li><a href="http://projects.apache.org" title="The Projects">Projects</a></li>
+          <li><a href="http://people.apache.org" title="The People">People</a></li>
+          <li><a href="http://www.apache.org/foundation/getinvolved.html" title="Get Involved">Get Involved</a></li>
+          <li><a href="http://www.apache.org/dyn/closer.cgi" title="Download">Download</a></li>
+          <li><a href="http://www.apache.org/foundation/sponsorship.html" title="Support Apache">Support Apache</a></li>
+        </ul>
+        <p>{{ breadcrumbs|safe }}</p>
+        <form name="search" id="search" action="http://www.google.com/search" method="get">
+          <input value="*.apache.org" name="sitesearch" type="hidden"/>
+          <input type="text" name="q" id="query">
+          <input type="submit" id="submit" value="Search">
+        </form>
+      </div>
+      <div class="clear"></div>
+      {% block content %}<div id="content" class="grid_16"><div class="section-content">{{ content|markdown }}</div></div>{% endblock %}
+      <div class="clear"></div>
+    </div>
+
+    <div id="copyright" class="container_16">
+      <p>Copyright &#169; 2011 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+    </div>
+  </body>
+</html>