HBASE-3537 [site] Make it so each page of manual allows users comment like mysql's manual does
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1346589 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
29a433911b
commit
3ef5d3802f
2
pom.xml
2
pom.xml
|
@ -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>
|
||||
|
|
|
@ -29,6 +29,21 @@ This stylesheet is used making an html version of hbase-default.xml.
|
|||
</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>
|
||||
|
|
Loading…
Reference in New Issue