Skip to content

Commit

Permalink
change default search engine to google (#155)
Browse files Browse the repository at this point in the history
* feat: 新版站点

* fix: issue #14

* feat: build

* feat:  optimization for loading js

* chore: adjust build for loading js

* fix: [issue28](#28) not compiled

* feat: 修改hash类型,支持Google爬虫SEO

* fix: docs page sidemenu unselected

* add star icon && optimize for build

* use react github button

* add attendtion

* build

* modify README.md

* 调整首页按钮颜色

* build

* feat: add google and baidu search

* feat: build
  • Loading branch information
purple-force authored and lovepoem committed Sep 21, 2018
1 parent 3a6bf3a commit 20c755f
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 31 deletions.
6 changes: 3 additions & 3 deletions build/blog.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions build/blogDetail.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions build/community.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions build/documentation.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions build/home.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions en-us/blog/tracing-with-skywalking.html
Expand Up @@ -12,7 +12,7 @@
<link rel="stylesheet" href="/build/blogDetail.css" />
</head>
<body>
<div id="root"><div class="blog-detail-page" data-reactroot="" data-reactid="1" data-react-checksum="-2144617742"><header class="header-container header-container-normal" data-reactid="2"><div class="header-body" data-reactid="3"><a href="/en-us/index.html" data-reactid="4"><img class="logo" src="/img/dubbo_colorful.png" data-reactid="5"/></a><div class="search search-normal" data-reactid="6"><span class="icon-search" data-reactid="7"></span></div><span class="language-switch language-switch-normal" data-reactid="8"></span><div class="header-menu" data-reactid="9"><img class="header-menu-toggle" src="/img/menu_gray.png" data-reactid="10"/><ul data-reactid="11"><li class="menu-item menu-item-normal" data-reactid="12"><a href="/en-us/index.html" data-reactid="13">HOME</a></li><li class="menu-item menu-item-normal" data-reactid="14"><a href="/en-us/docs/user/quick-start.html" data-reactid="15">DOCS</a></li><li class="menu-item menu-item-normal menu-item-normal-active" data-reactid="16"><a href="/en-us/blog/index.html" data-reactid="17">BLOG</a></li><li class="menu-item menu-item-normal" data-reactid="18"><a href="/en-us/community/index.html" data-reactid="19">COMMUNITY</a></li></ul></div></div></header><section class="blog-content markdown-body" data-reactid="20"><h1>Tracing Dubbo service with Apache Skywalking(incubator)</h1>
<div id="root"><div class="blog-detail-page" data-reactroot="" data-reactid="1" data-react-checksum="838435608"><header class="header-container header-container-normal" data-reactid="2"><div class="header-body" data-reactid="3"><a href="/en-us/index.html" data-reactid="4"><img class="logo" src="/img/dubbo_colorful.png" data-reactid="5"/></a><div class="search search-normal" data-reactid="6"><span class="icon-search" data-reactid="7"></span></div><span class="language-switch language-switch-normal" data-reactid="8"></span><div class="header-menu" data-reactid="9"><img class="header-menu-toggle" src="/img/menu_gray.png" data-reactid="10"/><ul data-reactid="11"><li class="menu-item menu-item-normal" data-reactid="12"><a href="/en-us/index.html" data-reactid="13">HOME</a></li><li class="menu-item menu-item-normal" data-reactid="14"><a href="/en-us/docs/user/quick-start.html" data-reactid="15">DOCS</a></li><li class="menu-item menu-item-normal menu-item-normal-active" data-reactid="16"><a href="/en-us/blog/index.html" data-reactid="17">BLOG</a></li><li class="menu-item menu-item-normal" data-reactid="18"><a href="/en-us/community/index.html" data-reactid="19">COMMUNITY</a></li></ul></div></div></header><section class="blog-content markdown-body" data-reactid="20"><h1>Tracing Dubbo service with Apache Skywalking(incubator)</h1>
<h2>Introduction to Apache Skywalking(Incubator)</h2>
<p><a href="https://github.com/apache/incubator-skywalking">Apache Skywalking(Incubator)</a> is the APM system that it designed for micro-services architectures and cloud native architecture systems and supports distribute tracking. <a href="https://github.com/apache/incubator-skywalking">Apache skywalking (incubator)</a> collects and analyzes the trace data and generates the relationship between the application and the service metric, Apache skywalking (incubating) supports multiple languages agent, for example <a href="https://github.com/apache/incubator-skywalking">Java</a>,<a href="https://github.com/OpenSkywalking/skywalking-netcore">.net core</a>,<a href="https://github.com/OpenSkywalking/skywalking-nodejs">Node.js</a> and <a href="https://github.com/OpenSkywalking/skywalking-go">Go</a>.</p>
<p>Currently, Skywalking has supported analysis the operation of distributed systems from 6 visual dimensions. The overview view is a global view of your applications and components, including the number of components and applications, application alarm fluctuations, slow service lists, and application throughput; The topology shows the topological relationship of the whole application; The application view represents the upstream and downstream relationship of the application from single application, TOP N services and servers, JVM, host and process info. The service view focuses on the operation of a single service portal and the upstream and downstream dependencies of this service and it helps the user to optimize and monitor a single service; the trace graph shows all the buried points of the invocation and the execution time of each burial point, and the alarm view is based on the configuration threshold for the application, server, service for real-time alarms</p>
Expand All @@ -27,10 +27,10 @@ <h4>API project</h4>
}</p>
<h4>Service provider project</h4>
<p>package org.apache.skywalking.demo.provider;</p>
<p>@Service(version = &quot;${demo.service.version}&quot;,
application = &quot;${<a href="http://dubbo.application.id">dubbo.application.id</a>}&quot;,
protocol = &quot;${<a href="http://dubbo.protocol.id">dubbo.protocol.id</a>}&quot;,
registry = &quot;${<a href="http://dubbo.registry.id">dubbo.registry.id</a>}&quot;, timeout = 60000)
<p>@Service(version = &quot;<span class="katex"><span class="katex-mathml"><math><semantics><mrow><mrow><mi>d</mi><mi>e</mi><mi>m</mi><mi>o</mi><mi mathvariant="normal">.</mi><mi>s</mi><mi>e</mi><mi>r</mi><mi>v</mi><mi>i</mi><mi>c</mi><mi>e</mi><mi mathvariant="normal">.</mi><mi>v</mi><mi>e</mi><mi>r</mi><mi>s</mi><mi>i</mi><mi>o</mi><mi>n</mi></mrow><mi mathvariant="normal">&quot;</mi><mo separator="true">,</mo><mi>a</mi><mi>p</mi><mi>p</mi><mi>l</mi><mi>i</mi><mi>c</mi><mi>a</mi><mi>t</mi><mi>i</mi><mi>o</mi><mi>n</mi><mo>=</mo><mi mathvariant="normal">&quot;</mi></mrow><annotation encoding="application/x-tex">{demo.service.version}&quot;,
application = &quot;</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.69444em;"></span><span class="strut bottom" style="height:0.8888799999999999em;vertical-align:-0.19444em;"></span><span class="base textstyle uncramped"><span class="mord textstyle uncramped"><span class="mord mathit">d</span><span class="mord mathit">e</span><span class="mord mathit">m</span><span class="mord mathit">o</span><span class="mord mathrm">.</span><span class="mord mathit">s</span><span class="mord mathit">e</span><span class="mord mathit" style="margin-right:0.02778em;">r</span><span class="mord mathit" style="margin-right:0.03588em;">v</span><span class="mord mathit">i</span><span class="mord mathit">c</span><span class="mord mathit">e</span><span class="mord mathrm">.</span><span class="mord mathit" style="margin-right:0.03588em;">v</span><span class="mord mathit">e</span><span class="mord mathit" style="margin-right:0.02778em;">r</span><span class="mord mathit">s</span><span class="mord mathit">i</span><span class="mord mathit">o</span><span class="mord mathit">n</span></span><span class="mord mathrm">&quot;</span><span class="mpunct">,</span><span class="mord mathit">a</span><span class="mord mathit">p</span><span class="mord mathit">p</span><span class="mord mathit" style="margin-right:0.01968em;">l</span><span class="mord mathit">i</span><span class="mord mathit">c</span><span class="mord mathit">a</span><span class="mord mathit">t</span><span class="mord mathit">i</span><span class="mord mathit">o</span><span class="mord mathit">n</span><span class="mrel">=</span><span class="mord mathrm">&quot;</span></span></span></span>{<a href="http://dubbo.application.id">dubbo.application.id</a>}&quot;,
protocol = &quot;<span class="katex"><span class="katex-mathml"><math><semantics><mrow><mrow><mi>d</mi><mi>u</mi><mi>b</mi><mi>b</mi><mi>o</mi><mi mathvariant="normal">.</mi><mi>p</mi><mi>r</mi><mi>o</mi><mi>t</mi><mi>o</mi><mi>c</mi><mi>o</mi><mi>l</mi><mi mathvariant="normal">.</mi><mi>i</mi><mi>d</mi></mrow><mi mathvariant="normal">&quot;</mi><mo separator="true">,</mo><mi>r</mi><mi>e</mi><mi>g</mi><mi>i</mi><mi>s</mi><mi>t</mi><mi>r</mi><mi>y</mi><mo>=</mo><mi mathvariant="normal">&quot;</mi></mrow><annotation encoding="application/x-tex">{dubbo.protocol.id}&quot;,
registry = &quot;</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.69444em;"></span><span class="strut bottom" style="height:0.8888799999999999em;vertical-align:-0.19444em;"></span><span class="base textstyle uncramped"><span class="mord textstyle uncramped"><span class="mord mathit">d</span><span class="mord mathit">u</span><span class="mord mathit">b</span><span class="mord mathit">b</span><span class="mord mathit">o</span><span class="mord mathrm">.</span><span class="mord mathit">p</span><span class="mord mathit" style="margin-right:0.02778em;">r</span><span class="mord mathit">o</span><span class="mord mathit">t</span><span class="mord mathit">o</span><span class="mord mathit">c</span><span class="mord mathit">o</span><span class="mord mathit" style="margin-right:0.01968em;">l</span><span class="mord mathrm">.</span><span class="mord mathit">i</span><span class="mord mathit">d</span></span><span class="mord mathrm">&quot;</span><span class="mpunct">,</span><span class="mord mathit" style="margin-right:0.02778em;">r</span><span class="mord mathit">e</span><span class="mord mathit" style="margin-right:0.03588em;">g</span><span class="mord mathit">i</span><span class="mord mathit">s</span><span class="mord mathit">t</span><span class="mord mathit" style="margin-right:0.02778em;">r</span><span class="mord mathit" style="margin-right:0.03588em;">y</span><span class="mrel">=</span><span class="mord mathrm">&quot;</span></span></span></span>{<a href="http://dubbo.registry.id">dubbo.registry.id</a>}&quot;, timeout = 60000)
public class HelloServiceImpl implements HelloService {</p>
<pre><code>public String sayHello(String name) {
LockSupport.parkNanos(TimeUnit.SECONDS.toNanos(1));
Expand Down
2 changes: 1 addition & 1 deletion en-us/blog/tracing-with-skywalking.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions en-us/docs/admin/ops/skywalking.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion en-us/docs/admin/ops/skywalking.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion site_config/site.js
Expand Up @@ -2,7 +2,7 @@ export default {
rootPath: '', // 发布到服务器的根目录,需以/开头但不能有尾/,如果只有/,请填写空字符串
port: 8080, // 本地开发服务器的启动端口
domain: 'dubbo.apache.org', // 站点部署域名
defaultSearch: 'baidu', // 默认搜索引擎,baidu或者google
defaultSearch: 'google', // 默认搜索引擎,baidu或者google
defaultLanguage: 'en-us',
'en-us': {
pageMenu: [
Expand Down
4 changes: 2 additions & 2 deletions zh-cn/blog/prepare-an-apache-release.html
Expand Up @@ -12,7 +12,7 @@
<link rel="stylesheet" href="/build/blogDetail.css" />
</head>
<body>
<div id="root"><div class="blog-detail-page" data-reactroot="" data-reactid="1" data-react-checksum="-73076503"><header class="header-container header-container-normal" data-reactid="2"><div class="header-body" data-reactid="3"><a href="/zh-cn/index.html" data-reactid="4"><img class="logo" src="/img/dubbo_colorful.png" data-reactid="5"/></a><div class="search search-normal" data-reactid="6"><span class="icon-search" data-reactid="7"></span></div><span class="language-switch language-switch-normal" data-reactid="8">En</span><div class="header-menu" data-reactid="9"><img class="header-menu-toggle" src="/img/menu_gray.png" data-reactid="10"/><ul data-reactid="11"><li class="menu-item menu-item-normal" data-reactid="12"><a href="/zh-cn/index.html" data-reactid="13">首页</a></li><li class="menu-item menu-item-normal" data-reactid="14"><a href="/zh-cn/docs/user/quick-start.html" data-reactid="15">文档</a></li><li class="menu-item menu-item-normal menu-item-normal-active" data-reactid="16"><a href="/zh-cn/blog/index.html" data-reactid="17">博客</a></li><li class="menu-item menu-item-normal" data-reactid="18"><a href="/zh-cn/community/index.html" data-reactid="19">社区</a></li></ul></div></div></header><section class="blog-content markdown-body" data-reactid="20"><h1>如何准备Apache Release</h1>
<div id="root"><div class="blog-detail-page" data-reactroot="" data-reactid="1" data-react-checksum="-1268453287"><header class="header-container header-container-normal" data-reactid="2"><div class="header-body" data-reactid="3"><a href="/zh-cn/index.html" data-reactid="4"><img class="logo" src="/img/dubbo_colorful.png" data-reactid="5"/></a><div class="search search-normal" data-reactid="6"><span class="icon-search" data-reactid="7"></span></div><span class="language-switch language-switch-normal" data-reactid="8">En</span><div class="header-menu" data-reactid="9"><img class="header-menu-toggle" src="/img/menu_gray.png" data-reactid="10"/><ul data-reactid="11"><li class="menu-item menu-item-normal" data-reactid="12"><a href="/zh-cn/index.html" data-reactid="13">首页</a></li><li class="menu-item menu-item-normal" data-reactid="14"><a href="/zh-cn/docs/user/quick-start.html" data-reactid="15">文档</a></li><li class="menu-item menu-item-normal menu-item-normal-active" data-reactid="16"><a href="/zh-cn/blog/index.html" data-reactid="17">博客</a></li><li class="menu-item menu-item-normal" data-reactid="18"><a href="/zh-cn/community/index.html" data-reactid="19">社区</a></li></ul></div></div></header><section class="blog-content markdown-body" data-reactid="20"><h1>如何准备Apache Release</h1>
<h2>理解Apache发布的内容和流程</h2>
<p>总的来说,Source Release是Apache关注的重点,也是发布的必须内容;而Binary Release是可选项,Dubbo可以选择是否发布二进制包到Apache仓库或者发布到Maven中央仓库。</p>
<p>请参考以下链接,找到更多关于ASF的发布指南:</p>
Expand Down Expand Up @@ -143,7 +143,7 @@ <h2>本地构建环境准备</h2>
<h2>打包&amp;上传</h2>
<ol>
<li>
<p>从主干分支拉取新分支作为发布分支,如现在要发布${release_version}版本,则从2.6.x拉出新分支${release_version}-release,此后${release_version} Release Candidates涉及的修改及打标签等都在${release_version}-release分支进行,最终发布完成后合入主干分支。</p>
<p>从主干分支拉取新分支作为发布分支,如现在要发布{release_version}版本,则从2.6.x拉出新分支{release_version}-release,此后{release_version} Release Candidates涉及的修改及打标签等都在{release_version}-release分支进行,最终发布完成后合入主干分支。</p>
</li>
<li>
<p>首先,在${release_version}-release分支验证maven组件打包、source源码打包、签名等是否都正常工作(2.6.x记得要使用1.7或以下版本JDK进行编译打包)</p>
Expand Down
2 changes: 1 addition & 1 deletion zh-cn/blog/prepare-an-apache-release.json

Large diffs are not rendered by default.

0 comments on commit 20c755f

Please sign in to comment.