Skip to content

Commit

Permalink
Add comments for docs and blogs.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouxinyu committed Dec 27, 2016
1 parent 5fda73c commit a4ed6d3
Show file tree
Hide file tree
Showing 10 changed files with 381 additions and 23 deletions.
8 changes: 4 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ destination : content
# breadcrumbs : false # true, false (default)
words_per_minute : 200
comments:
provider : # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman", "custom"
provider : "disqus" # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman", "custom"
disqus:
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
shortname : "rocketmq" # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
discourse:
server : # https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963 , e.g.: meta.discourse.org
facebook:
Expand Down Expand Up @@ -277,8 +277,8 @@ defaults:
layout: single
read_time: false
author_profile: false
share: false
comments: false
share: true
comments: true
sidebar:
nav: "docs"
# _recipes
Expand Down
54 changes: 51 additions & 3 deletions content/docs/cli-admin-tool/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@


<meta property="og:type" content="article">
<meta property="article:published_time" content="2016-12-24T21:46:44+08:00">
<meta property="article:published_time" content="2016-12-27T12:03:29+08:00">



Expand Down Expand Up @@ -355,7 +355,7 @@
<article class="page" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="headline" content="CLI Admin Tool">
<meta itemprop="description" content="RocketMQ provides a CLI admin tool belt to query, manage and diagnose various issues.">
<meta itemprop="datePublished" content="December 24, 2016">
<meta itemprop="datePublished" content="December 27, 2016">
<meta itemprop="dateModified" content="December 17, 2016">

<div class="page__inner-wrap">
Expand Down Expand Up @@ -470,7 +470,20 @@ <h1 id="command-manual">Command Manual</h1>

</footer>


<section class="page__share">

<h4 class="page__share-title">Share on</h4>


<a href="https://twitter.com/intent/tweet?via=ApacheRocketMQ&text=CLI Admin Tool /docs/cli-admin-tool/" class="btn btn--twitter" title="Share on Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>

<a href="https://www.facebook.com/sharer/sharer.php?u=/docs/cli-admin-tool/" class="btn btn--facebook" title="Share on Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>

<a href="https://plus.google.com/share?url=/docs/cli-admin-tool/" class="btn btn--google-plus" title="Share on Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>

<a href="https://www.linkedin.com/shareArticle?mini=true&url=/docs/cli-admin-tool/" class="btn btn--linkedin" title="Share on LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
</section>



<nav class="pagination">
Expand All @@ -487,6 +500,14 @@ <h1 id="command-manual">Command Manual</h1>
</div>


<div class="page__comments">


<h4 class="page__comments-title">Leave a Comment</h4>
<section id="disqus_thread"></section>

</div>

</article>


Expand Down Expand Up @@ -525,5 +546,32 @@ <h1 id="command-manual">Command Manual</h1>




<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'rocketmq';

/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();

/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>






</body>
</html>
54 changes: 51 additions & 3 deletions content/docs/cluster-deployment/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@


<meta property="og:type" content="article">
<meta property="article:published_time" content="2016-12-24T21:46:44+08:00">
<meta property="article:published_time" content="2016-12-27T12:03:29+08:00">



Expand Down Expand Up @@ -355,7 +355,7 @@
<article class="page" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="headline" content="Cluster Configuration and Deployment">
<meta itemprop="description" content="Prerequisite">
<meta itemprop="datePublished" content="December 24, 2016">
<meta itemprop="datePublished" content="December 27, 2016">
<meta itemprop="dateModified" content="December 17, 2016">

<div class="page__inner-wrap">
Expand Down Expand Up @@ -474,7 +474,20 @@ <h1 id="deployment-example">Deployment Example</h1>

</footer>


<section class="page__share">

<h4 class="page__share-title">Share on</h4>


<a href="https://twitter.com/intent/tweet?via=ApacheRocketMQ&text=Cluster Configuration and Deployment /docs/cluster-deployment/" class="btn btn--twitter" title="Share on Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>

<a href="https://www.facebook.com/sharer/sharer.php?u=/docs/cluster-deployment/" class="btn btn--facebook" title="Share on Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>

<a href="https://plus.google.com/share?url=/docs/cluster-deployment/" class="btn btn--google-plus" title="Share on Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>

<a href="https://www.linkedin.com/shareArticle?mini=true&url=/docs/cluster-deployment/" class="btn btn--linkedin" title="Share on LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
</section>



<nav class="pagination">
Expand All @@ -491,6 +504,14 @@ <h1 id="deployment-example">Deployment Example</h1>
</div>


<div class="page__comments">


<h4 class="page__comments-title">Leave a Comment</h4>
<section id="disqus_thread"></section>

</div>

</article>


Expand Down Expand Up @@ -529,5 +550,32 @@ <h1 id="deployment-example">Deployment Example</h1>




<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'rocketmq';

/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();

/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>






</body>
</html>
54 changes: 51 additions & 3 deletions content/docs/core-concept/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@


<meta property="og:type" content="article">
<meta property="article:published_time" content="2016-12-24T21:46:44+08:00">
<meta property="article:published_time" content="2016-12-27T12:03:29+08:00">



Expand Down Expand Up @@ -355,7 +355,7 @@
<article class="page" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="headline" content="Core Concept">
<meta itemprop="description" content="">
<meta itemprop="datePublished" content="December 24, 2016">
<meta itemprop="datePublished" content="December 27, 2016">
<meta itemprop="dateModified" content="December 17, 2016">

<div class="page__inner-wrap">
Expand Down Expand Up @@ -509,7 +509,20 @@ <h1 id="message-order">Message Order</h1>

</footer>


<section class="page__share">

<h4 class="page__share-title">Share on</h4>


<a href="https://twitter.com/intent/tweet?via=ApacheRocketMQ&text=Core Concept /docs/core-concept/" class="btn btn--twitter" title="Share on Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>

<a href="https://www.facebook.com/sharer/sharer.php?u=/docs/core-concept/" class="btn btn--facebook" title="Share on Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>

<a href="https://plus.google.com/share?url=/docs/core-concept/" class="btn btn--google-plus" title="Share on Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>

<a href="https://www.linkedin.com/shareArticle?mini=true&url=/docs/core-concept/" class="btn btn--linkedin" title="Share on LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
</section>



<nav class="pagination">
Expand All @@ -526,6 +539,14 @@ <h1 id="message-order">Message Order</h1>
</div>


<div class="page__comments">


<h4 class="page__comments-title">Leave a Comment</h4>
<section id="disqus_thread"></section>

</div>

</article>


Expand Down Expand Up @@ -564,5 +585,32 @@ <h1 id="message-order">Message Order</h1>




<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'rocketmq';

/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();

/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>






</body>
</html>
54 changes: 51 additions & 3 deletions content/docs/motivation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@


<meta property="og:type" content="article">
<meta property="article:published_time" content="2016-12-24T21:46:44+08:00">
<meta property="article:published_time" content="2016-12-27T12:03:29+08:00">



Expand Down Expand Up @@ -355,7 +355,7 @@
<article class="page" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="headline" content="Motivation">
<meta itemprop="description" content="In the early stages, we constructed our distributed messaging middleware on the basis of ActiveMQ 5.x(less than 5.3). Our international business uses it for async communication, search, social network activity stream, data pipeline, even in our trade order process. As our trade business throughput rises more and more inconceivably, pressure originating from our messaging cluster also become more and more obvious.">
<meta itemprop="datePublished" content="December 24, 2016">
<meta itemprop="datePublished" content="December 27, 2016">
<meta itemprop="dateModified" content="December 17, 2016">

<div class="page__inner-wrap">
Expand Down Expand Up @@ -472,7 +472,20 @@ <h1 id="rocketmq-vs-activemq-vs-kafka">RocketMQ vs. ActiveMQ vs. Kafka</h1>

</footer>


<section class="page__share">

<h4 class="page__share-title">Share on</h4>


<a href="https://twitter.com/intent/tweet?via=ApacheRocketMQ&text=Motivation /docs/motivation/" class="btn btn--twitter" title="Share on Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>

<a href="https://www.facebook.com/sharer/sharer.php?u=/docs/motivation/" class="btn btn--facebook" title="Share on Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>

<a href="https://plus.google.com/share?url=/docs/motivation/" class="btn btn--google-plus" title="Share on Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>

<a href="https://www.linkedin.com/shareArticle?mini=true&url=/docs/motivation/" class="btn btn--linkedin" title="Share on LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
</section>



<nav class="pagination">
Expand All @@ -489,6 +502,14 @@ <h1 id="rocketmq-vs-activemq-vs-kafka">RocketMQ vs. ActiveMQ vs. Kafka</h1>
</div>


<div class="page__comments">


<h4 class="page__comments-title">Leave a Comment</h4>
<section id="disqus_thread"></section>

</div>

</article>


Expand Down Expand Up @@ -527,5 +548,32 @@ <h1 id="rocketmq-vs-activemq-vs-kafka">RocketMQ vs. ActiveMQ vs. Kafka</h1>




<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'rocketmq';

/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();

/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>






</body>
</html>
Loading

0 comments on commit a4ed6d3

Please sign in to comment.