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/31 21:32:41 UTC

svn commit: r1404336 - in /cayenne/site/cms/trunk: content/doc12/documentation.html lib/path.pm templates/legacy_confluence.html templates/legacy_menu12.html templates/legacy_menu20.html templates/legacy_menu30.html

Author: aadamchik
Date: Wed Oct 31 20:32:41 2012
New Revision: 1404336

URL: http://svn.apache.org/viewvc?rev=1404336&view=rev
Log:
legacy doc menus

Added:
    cayenne/site/cms/trunk/templates/legacy_menu12.html
    cayenne/site/cms/trunk/templates/legacy_menu20.html
    cayenne/site/cms/trunk/templates/legacy_menu30.html
Modified:
    cayenne/site/cms/trunk/content/doc12/documentation.html
    cayenne/site/cms/trunk/lib/path.pm
    cayenne/site/cms/trunk/templates/legacy_confluence.html

Modified: cayenne/site/cms/trunk/content/doc12/documentation.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/doc12/documentation.html?rev=1404336&r1=1404335&r2=1404336&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/doc12/documentation.html (original)
+++ cayenne/site/cms/trunk/content/doc12/documentation.html Wed Oct 31 20:32:41 2012
@@ -1,6 +1,6 @@
 Title: 1.2 » Documentation
 
-	<H2><A name="Documentation-CayenneDocumentationv.1.2%28STABLE%29"></A>Cayenne Documentation - v. 1.2 (STABLE)</H2>
+	<H2><A name="Documentation-CayenneDocumentationv.1.2%28STABLE%29"></A>Cayenne Documentation - v. 1.2</H2>
 
 <UL>
 	<LI><A href="user-guide.html" title="User Guide">User Guide</A>:  General information on how to get started with Cayenne, main Cayenne concepts, API details and deployment procedures.</LI>

Modified: cayenne/site/cms/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/lib/path.pm?rev=1404336&r1=1404335&r2=1404336&view=diff
==============================================================================
--- cayenne/site/cms/trunk/lib/path.pm (original)
+++ cayenne/site/cms/trunk/lib/path.pm Wed Oct 31 20:32:41 2012
@@ -12,9 +12,18 @@ our @patterns = (
   [qr!^/doc30/api/.*\.html$!, single_narrative => { template => "apidocs.html" }],
 
   # Legacy docs
-  [qr!^/doc12/(?\!api/).*\.html$!, single_narrative => { template => "legacy_confluence.html" }],
-  [qr!^/doc20/(?\!api/).*\.html$!, single_narrative => { template => "legacy_confluence.html" }],
-  [qr!^/doc30/(?\!api/).*\.html$!, single_narrative => { template => "legacy_confluence.html" }],
+  [qr!^/doc12/(?\!api/).*\.html$!, single_narrative => { 
+    template => "legacy_confluence.html",
+    menu => "legacy_menu12.html",
+  }],
+  [qr!^/doc20/(?\!api/).*\.html$!, single_narrative => { 
+    template => "legacy_confluence.html",
+    menu => "legacy_menu20.html",
+  }],
+  [qr!^/doc30/(?\!api/).*\.html$!, single_narrative => { 
+    template => "legacy_confluence.html",
+    menu => "legacy_menu30.html",
+  }],
 ) ;
 
 

Modified: cayenne/site/cms/trunk/templates/legacy_confluence.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/templates/legacy_confluence.html?rev=1404336&r1=1404335&r2=1404336&view=diff
==============================================================================
--- cayenne/site/cms/trunk/templates/legacy_confluence.html (original)
+++ cayenne/site/cms/trunk/templates/legacy_confluence.html Wed Oct 31 20:32:41 2012
@@ -1,3 +1,4 @@
 {% extends "skeleton.html" %}
 {% block title %}{{ headers.title|safe }}{% endblock %}
+{% block menu %}{% include menu %}{% endblock %}
 {% block content %}{{ content|safe }}{% endblock %}
\ No newline at end of file

Added: cayenne/site/cms/trunk/templates/legacy_menu12.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/templates/legacy_menu12.html?rev=1404336&view=auto
==============================================================================
--- cayenne/site/cms/trunk/templates/legacy_menu12.html (added)
+++ cayenne/site/cms/trunk/templates/legacy_menu12.html Wed Oct 31 20:32:41 2012
@@ -0,0 +1,14 @@
+
+<div id="sidebar">
+<ul id="nav">
+	<li><a href="/doc12/documentation.html">1.2.x Documentation</a>
+		<ul>
+			<li><a href="/doc12/user-guide.html">Cayenne Guide</a></li>
+			<li><a href="/doc12/remote-object-persistence-guide.html">Remote Client Guide</a></li>
+			<li><a href="/doc12/modeler-guide.html">Modeler Guide</a></li>
+			<li><a href="/doc12/api/cayenne/index.html">JavaDoc</a></li>
+			<li><a href="/index.html">Back...</a>
+		</ul>
+	</li>
+</ul>
+</div>

Added: cayenne/site/cms/trunk/templates/legacy_menu20.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/templates/legacy_menu20.html?rev=1404336&view=auto
==============================================================================
--- cayenne/site/cms/trunk/templates/legacy_menu20.html (added)
+++ cayenne/site/cms/trunk/templates/legacy_menu20.html Wed Oct 31 20:32:41 2012
@@ -0,0 +1,14 @@
+
+<div id="sidebar">
+<ul id="nav">
+	<li><a href="/doc20/documentation.html">2.0.x Documentation</a>
+		<ul>
+			<li><a href="/doc20/user-guide.html">Cayenne Guide</a></li>
+			<li><a href="/doc20/remote-object-persistence-guide.html">Remote Client Guide</a></li>
+			<li><a href="/doc20/modeler-guide.html">Modeler Guide</a></li>
+			<li><a href="/doc20/api/cayenne/index.html">JavaDoc</a></li>
+			<li><a href="/index.html">Back...</a>
+		</ul>
+	</li>
+</ul>
+</div>

Added: cayenne/site/cms/trunk/templates/legacy_menu30.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/templates/legacy_menu30.html?rev=1404336&view=auto
==============================================================================
--- cayenne/site/cms/trunk/templates/legacy_menu30.html (added)
+++ cayenne/site/cms/trunk/templates/legacy_menu30.html Wed Oct 31 20:32:41 2012
@@ -0,0 +1,15 @@
+
+<div id="sidebar">
+<ul id="nav">
+	<li><a href="/doc30/documentation.html">3.0.x Documentation</a>
+		<ul>
+			<li><a href="/doc30/overview.html">Overview</a></li>
+			<li><a href="/doc30/cayenne-guide.html">Cayenne Guide</a></li>
+			<li><a href="/doc30/remote-object-persistence-guide.html">Remote Client Guide</a></li>
+			<li><a href="/doc30/modeler-guide.html">Modeler Guide</a></li>
+			<li><a href="/doc30/api/index.html">JavaDoc</a></li>
+			<li><a href="/index.html">Back...</a>
+		</ul>
+	</li>
+</ul>
+</div>