hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1346589 - in /hbase/trunk: pom.xml src/docbkx/customization.xsl
Date Tue, 05 Jun 2012 21:07:16 GMT
Author: stack
Date: Tue Jun  5 21:07:15 2012
New Revision: 1346589

URL: http://svn.apache.org/viewvc?rev=1346589&view=rev
Log:
HBASE-3537 [site] Make it so each page of manual allows users comment like mysql's manual
does

Modified:
    hbase/trunk/pom.xml
    hbase/trunk/src/docbkx/customization.xsl

Modified: hbase/trunk/pom.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/pom.xml?rev=1346589&r1=1346588&r2=1346589&view=diff
==============================================================================
--- hbase/trunk/pom.xml (original)
+++ hbase/trunk/pom.xml Tue Jun  5 21:07:15 2012
@@ -650,7 +650,7 @@
           <sectionAutolabel>true</sectionAutolabel>
           <sectionLabelIncludesComponentLabel>true</sectionLabelIncludesComponentLabel>
           <targetDirectory>target/docbkx</targetDirectory>
-          <htmlStylesheet>${basedir}/src/resources/css/freebsd_docbook.css</htmlStylesheet>
+          <htmlStylesheet>${basedir}/src/site/resources/css/freebsd_docbook.css</htmlStylesheet>
           <htmlCustomization>${basedir}/src/docbkx/customization.xsl</htmlCustomization>
           <tocMaxDepth>2</tocMaxDepth>
           <insertXrefPageNumber>yes</insertXrefPageNumber>

Modified: hbase/trunk/src/docbkx/customization.xsl
URL: http://svn.apache.org/viewvc/hbase/trunk/src/docbkx/customization.xsl?rev=1346589&r1=1346588&r2=1346589&view=diff
==============================================================================
--- hbase/trunk/src/docbkx/customization.xsl (original)
+++ hbase/trunk/src/docbkx/customization.xsl Tue Jun  5 21:07:15 2012
@@ -29,6 +29,21 @@ This stylesheet is used making an html v
   </xsl:template>
 
   <xsl:template name="user.footer.content">
+<div id="disqus_thread"></div>
+<script type="text/javascript">
+    var disqus_shortname = 'hbase'; // required: replace example with your forum shortname
+    var disqus_url = 'http://hbase.apache.org/';
+    var disqus_identifier = 'book';
+
+    /* * * DON'T EDIT BELOW THIS LINE * * */
+    (function() {
+        var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async
= true;
+        dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
+        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+    })();
+</script>
+<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments
powered by Disqus.</a></noscript>
+<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
   </xsl:template>
 
 </xsl:stylesheet>



Mime
View raw message