You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2019/06/30 06:06:08 UTC
[incubator-datasketches-website] 01/01: First commit.
This is an automated email from the ASF dual-hosted git repository.
leerho pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-website.git
commit 3b5b4fdeffa3c1d24db740f925e8dabf1c5bf232
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Sat Jun 29 23:01:25 2019 -0700
First commit.
---
.svn/entries | 1 +
.svn/format | 1 +
.svn/wc.db | Bin 0 -> 122880 bytes
.svn/wc.db-journal | 0
README.md | 1 +
trunk/content/index.mdtext | 24 +++++++++++++++
trunk/content/sitemap.html | 2 ++
trunk/lib/path.pm | 39 ++++++++++++++++++++++++
trunk/lib/view.pm | 23 +++++++++++++++
trunk/templates/single_narrative.html | 1 +
trunk/templates/skeleton.html | 54 ++++++++++++++++++++++++++++++++++
11 files changed, 146 insertions(+)
diff --git a/.svn/entries b/.svn/entries
new file mode 100644
index 0000000..48082f7
--- /dev/null
+++ b/.svn/entries
@@ -0,0 +1 @@
+12
diff --git a/.svn/format b/.svn/format
new file mode 100644
index 0000000..48082f7
--- /dev/null
+++ b/.svn/format
@@ -0,0 +1 @@
+12
diff --git a/.svn/wc.db b/.svn/wc.db
new file mode 100644
index 0000000..7021e1b
Binary files /dev/null and b/.svn/wc.db differ
diff --git a/.svn/wc.db-journal b/.svn/wc.db-journal
new file mode 100644
index 0000000..e69de29
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..652ef06
--- /dev/null
+++ b/README.md
@@ -0,0 +1 @@
+# incubator-datasketches-website
diff --git a/trunk/content/index.mdtext b/trunk/content/index.mdtext
new file mode 100644
index 0000000..6efd559
--- /dev/null
+++ b/trunk/content/index.mdtext
@@ -0,0 +1,24 @@
+Title: Home Page
+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.
+
+# Welcome
+
+Welcome to the Apache CMS. Please see the following resources for further help:
+
+ - <http://www.apache.org/dev/cmsref.html>
+ - <http://wiki.apache.org/general/ApacheCms2010>
diff --git a/trunk/content/sitemap.html b/trunk/content/sitemap.html
new file mode 100644
index 0000000..e5e0daa
--- /dev/null
+++ b/trunk/content/sitemap.html
@@ -0,0 +1,2 @@
+{% include "single_narrative.html" %}
+
diff --git a/trunk/lib/path.pm b/trunk/lib/path.pm
new file mode 100644
index 0000000..846db97
--- /dev/null
+++ b/trunk/lib/path.pm
@@ -0,0 +1,39 @@
+package path;
+
+# taken from django's url.py
+
+our @patterns = (
+ [qr!\.md(?:text)?$!, single_narrative => { template => "single_narrative.html" }],
+
+ [qr!/sitemap\.html$!, sitemap => { headers => { title => "Sitemap" }} ],
+
+) ;
+
+# for specifying interdependencies between files
+
+our %dependencies = (
+ "/sitemap.html" => [ grep s!^content!!, glob("content/*.mdtext"), glob "content/*.md" ],
+);
+
+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.
+
+
diff --git a/trunk/lib/view.pm b/trunk/lib/view.pm
new file mode 100644
index 0000000..e44e6d4
--- /dev/null
+++ b/trunk/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.
diff --git a/trunk/templates/single_narrative.html b/trunk/templates/single_narrative.html
new file mode 100644
index 0000000..19d6b98
--- /dev/null
+++ b/trunk/templates/single_narrative.html
@@ -0,0 +1 @@
+{% extends "skeleton.html" %}
diff --git a/trunk/templates/skeleton.html b/trunk/templates/skeleton.html
new file mode 100644
index 0000000..26b0621
--- /dev/null
+++ b/trunk/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 © 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>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org