cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r898092 - /cocoon/trunk/site/cocoon-thien-maven-site-skin/src/main/resources/META-INF/maven/site.vm
Date Mon, 11 Jan 2010 22:28:05 GMT
Author: simonetripodi
Date: Mon Jan 11 22:28:04 2010
New Revision: 898092

URL: http://svn.apache.org/viewvc?rev=898092&view=rev
Log:
integrated the JS code prettify into the skin

Modified:
    cocoon/trunk/site/cocoon-thien-maven-site-skin/src/main/resources/META-INF/maven/site.vm

Modified: cocoon/trunk/site/cocoon-thien-maven-site-skin/src/main/resources/META-INF/maven/site.vm
URL: http://svn.apache.org/viewvc/cocoon/trunk/site/cocoon-thien-maven-site-skin/src/main/resources/META-INF/maven/site.vm?rev=898092&r1=898091&r2=898092&view=diff
==============================================================================
--- cocoon/trunk/site/cocoon-thien-maven-site-skin/src/main/resources/META-INF/maven/site.vm
(original)
+++ cocoon/trunk/site/cocoon-thien-maven-site-skin/src/main/resources/META-INF/maven/site.vm
Mon Jan 11 22:28:04 2010
@@ -213,15 +213,17 @@
       @import url("$relativePath/css/maven-base.css");
       @import url("$relativePath/css/maven-theme.css");
       @import url("$relativePath/css/site.css");
+      @import url("$relativePath/css/prettify.css");
     </style>
     <link rel="stylesheet" href="$relativePath/css/print.css" type="text/css" media="print"
/>
     <script src="$relativePath/js/getBlank.js" language="javascript" type="text/javascript"></script>
+    <script src="$relativePath/js/prettify.js" language="javascript" type="text/javascript"></script>
     #foreach( $author in $authors )
       <meta name="author" content="$author" />
     #end
     <meta http-equiv="Content-Type" content="text/html; charset=${outputEncoding}" />
   </head>
-  <body>
+  <body onload="javascript:prettyPrint();">
     <div id="breadtrail">
        <p><a href="http://www.apache.org">Apache</a> &raquo; <a
href="$project.getProperties().get("docs.urlRelativizer")">Cocoon</a> &raquo;</p>
     </div>



Mime
View raw message