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:38 UTC

svn commit: r1403855 - in /cayenne/site/cms/trunk: lib/path.pm templates/apidocs.html

Author: aadamchik
Date: Tue Oct 30 20:15:38 2012
New Revision: 1403855

URL: http://svn.apache.org/viewvc?rev=1403855&view=rev
Log:
this publishes javadocs

Added:
    cayenne/site/cms/trunk/templates/apidocs.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=1403855&r1=1403854&r2=1403855&view=diff
==============================================================================
--- cayenne/site/cms/trunk/lib/path.pm (original)
+++ cayenne/site/cms/trunk/lib/path.pm Tue Oct 30 20:15:38 2012
@@ -3,7 +3,7 @@ use ASF::Value;
 
 our @patterns = (
 	[qr!\.mdtext$!, single_narrative => { template => "markdown.html" }],
-  [qr!\.html$!, single_narrative => { template => "plain_html.html" }],
+  [qr!^/doc[0-9]{0,2}/api/.*\.html$!, single_narrative => { template => "apidocs.html" }],
 ) ;
 
 1;

Added: cayenne/site/cms/trunk/templates/apidocs.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/templates/apidocs.html?rev=1403855&view=auto
==============================================================================
--- cayenne/site/cms/trunk/templates/apidocs.html (added)
+++ cayenne/site/cms/trunk/templates/apidocs.html Tue Oct 30 20:15:38 2012
@@ -0,0 +1 @@
+{{ content|safe }}
\ No newline at end of file