You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2012/10/30 21:15:52 UTC

svn commit: r1403856 - in /cayenne/site/cms/trunk: lib/path.pm templates/legacy_confluence.html templates/plain_html.html

Author: aadamchik
Date: Tue Oct 30 20:15:52 2012
New Revision: 1403856

URL: http://svn.apache.org/viewvc?rev=1403856&view=rev
Log:
this publishes old userguides

Added:
    cayenne/site/cms/trunk/templates/legacy_confluence.html
Removed:
    cayenne/site/cms/trunk/templates/plain_html.html
Modified:
    cayenne/site/cms/trunk/lib/path.pm

Modified: cayenne/site/cms/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/lib/path.pm?rev=1403856&r1=1403855&r2=1403856&view=diff
==============================================================================
--- cayenne/site/cms/trunk/lib/path.pm (original)
+++ cayenne/site/cms/trunk/lib/path.pm Tue Oct 30 20:15:52 2012
@@ -4,6 +4,7 @@ use ASF::Value;
 our @patterns = (
 	[qr!\.mdtext$!, single_narrative => { template => "markdown.html" }],
   [qr!^/doc[0-9]{0,2}/api/.*\.html$!, single_narrative => { template => "apidocs.html" }],
+  [qr!^/doc[0-9]{0,2}/(?\!api/).*\.html$!, single_narrative => { template => "legacy_confluence.html" }],
 ) ;
 
 1;

Added: cayenne/site/cms/trunk/templates/legacy_confluence.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/templates/legacy_confluence.html?rev=1403856&view=auto
==============================================================================
--- cayenne/site/cms/trunk/templates/legacy_confluence.html (added)
+++ cayenne/site/cms/trunk/templates/legacy_confluence.html Tue Oct 30 20:15:52 2012
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en">
+<head>
+<title>Apache Cayenne &#187; {{ headers.title }}</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta name="description" content="Apache Cayenne is a powerful, full-featured, open-source object relational mapping framework created for developers working with relational databases.">
+<meta name="robots" content="index,follow">
+<link rel="stylesheet" type="text/css" media="screen, projection" href="/css/styles.css">
+<link rel="stylesheet" type="text/css" media="print" href="/css/print.css">
+<link rel="shortcut icon" href="/img/favicon.ico" type="image/ico">
+<script type="text/javascript" src="/js/scripts.js"></script>
+</head>
+<body>
+
+
+<div id="content">
+       {{ content|safe }}
+       <hr>
+       <p id="footer">Copyright &#169; 2001-2012 Apache Software Foundation. Apache Cayenne, Cayenne, Apache, the Apache feather logo, and the Apach
+</div>
+</div>
+
+</div></div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-7036673-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
+</body>
+</html>