You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2011/02/28 05:02:26 UTC

svn commit: r1075203 - /commons/proper/commons-parent/trunk/src/site/site.xml

Author: sebb
Date: Mon Feb 28 04:02:26 2011
New Revision: 1075203

URL: http://svn.apache.org/viewvc?rev=1075203&view=rev
Log:
Move prettify to head section from template

Modified:
    commons/proper/commons-parent/trunk/src/site/site.xml

Modified: commons/proper/commons-parent/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/src/site/site.xml?rev=1075203&r1=1075202&r2=1075203&view=diff
==============================================================================
--- commons/proper/commons-parent/trunk/src/site/site.xml (original)
+++ commons/proper/commons-parent/trunk/src/site/site.xml Mon Feb 28 04:02:26 2011
@@ -27,6 +27,17 @@
       <item name="Commons" href="http://commons.apache.org/" />
     </links>
 
+    <head>
+    <!-- Better display of <source> code sections -->
+    <link rel="stylesheet" href="./css/prettify.css" type="text/css" media="all" />
+    <script type="text/javascript" src="./js/prettify.js"></script>
+    <script type="text/javascript">
+        window.onload=function() {
+            prettyPrint();
+        }
+    </script>
+    </head>
+    
     <menu ref="reports" inherit="bottom" />
 
     <menu name="Commons" inherit="bottom">