This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site-v2
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/asf-site-v2 by this push:
new c1600ad362 deploy: 2377065236f2c042e75a947bcdc042f54c6f8615
c1600ad362 is described below
commit c1600ad3628ff46f401820877b513a68af52b84a
Author: AlbumenJ <[email protected]>
AuthorDate: Tue Apr 11 01:41:28 2023 +0000
deploy: 2377065236f2c042e75a947bcdc042f54c6f8615
---
sitemap.xml | 2 +-
zh-cn/docsv2.7/admin/ops/apidocs/index.html | 8 ++++----
zh-cn/docsv2.7/admin/ops/index.xml | 3 ++-
zh-cn/sitemap.xml | 2 +-
4 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/sitemap.xml b/sitemap.xml
index 52791c5ab4..d54bbb4577 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2023-04-11T09:35:35+08:00</lastmod></sitemap><sitemap><loc>https://dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-04-03T22:00:19+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2023-04-11T09:37:22+08:00</lastmod></sitemap><sitemap><loc>https://dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-04-03T22:00:19+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
diff --git a/zh-cn/docsv2.7/admin/ops/apidocs/index.html
b/zh-cn/docsv2.7/admin/ops/apidocs/index.html
index 32a3644e18..84844e4ad2 100644
--- a/zh-cn/docsv2.7/admin/ops/apidocs/index.html
+++ b/zh-cn/docsv2.7/admin/ops/apidocs/index.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=zh-cn class=no-js><head><meta name=ROBOTS
content="INDEX, FOLLOW"><link rel=canonical
href=https://dubbo.apache.org/zh-cn/docsv2.7/admin/ops/apidocs/><meta
charset=utf-8><meta name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.111.3"><link rel="shortcut icon" type=image/png
href=/imgs/favicon.png><link rel=apple-touch-icon
href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=manifest hr
[...]
+<!doctype html><html lang=zh-cn class=no-js><head><meta name=ROBOTS
content="INDEX, FOLLOW"><link rel=canonical
href=https://dubbo.apache.org/zh-cn/docsv2.7/admin/ops/apidocs/><meta
charset=utf-8><meta name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.111.3"><link rel="shortcut icon" type=image/png
href=/imgs/favicon.png><link rel=apple-touch-icon
href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link rel=manifest hr
[...]
<script>var
doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function
gtag(){dataLayer.push(arguments)}gtag("js",new
Date),gtag("config","G-1TFHM5YBH0",{anonymize_ip:!1})}</script><link
rel=preload
href=/scss/main.min.7fa6d3c7f521df6fedf4e016ce03c86424bbf48f7b0d070a25f450054a7fcfeb.css
as=style><link
href=/scss/main.min.7fa6d3c7f521df6fedf4e016ce03c86424bbf48f7b0d070a25f450054a7fcfeb.css
rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js
integrity="sha256-9/a [...]
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3><meta
name=theme-color content="#326ce5"><link rel=stylesheet
href=/css/feature-states.css><meta name=description content="API文档&测试"><meta
property="og:description" content="API文档&测试"><meta name=twitter:description
content="API文档&测试"><meta property="og:url"
content="https://dubbo.apache.org/zh-cn/docsv2.7/admin/ops/apidocs/"><meta
property="og:title" content="API文档&测试"><meta name=twitter:title
content="API文档&测试"><met [...]
<link href=/css/community.css rel=stylesheet><link href=/css/contactus.css
rel=stylesheet><link href=/css/language.css rel=stylesheet><script
src=/js/script.js></script></head><body class="td-page
td-documentation"><header><nav class="js-navbar-scroll navbar navbar-expand
navbar-dark flex-column flex-md-row td-navbar" data-auto-burger=primary><a
class=navbar-brand href=/zh-cn/><span class=navbar-logo></span><span
class="text-uppercase font-weight-bold">Apache Dubbo</span></a><div class="
[...]
@@ -203,7 +203,7 @@
<label for=m-zh-cndocsv27admininstallmonitor-center-check><a
href=/zh-cn/docsv2.7/admin/install/monitor-center/ class="align-left pl-0
td-sidebar-link td-sidebar-link__page"
id=m-zh-cndocsv27admininstallmonitor-center><span>Simple
监控中心安装</span></a></label></li></ul></li></ul></li></ul></li></ul></nav></div></div><main
class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb
class=td-breadcrumbs><ol class=breadcrumb><li class=breadcrumb-item><a
href=https://dubbo.apac [...]
<a
href=https://github.com/apache/dubbo-spi-extensions/tree/2.7.x/dubbo-api-docs>\分支:
2.7.x\dubbo-api-docs</a>:
Dubbo-Api-Docs 相关注解,解析注解</li><li><a
href=https://github.com/KeRan213539/dubbo-admin>dubbo-admin</a>: Dubbo-Api-Docs
文档展示,测试功能</li></ul><h2 id=如何使用>如何使用?</h2><ol><li>dubbo项目的方法参数中加上 dubbo api docs
注解<ul><li>dubbo提供者项目引入
dubbo-api-docs-core</li><li>如果dubbo的接口和参数是一个单独的jar包项目,引入dubbo-api-docs-annotations</li><li>在提供者项目的项目启动类(标注了@SpringBootApplication的类)或者配制类(标注了@Configuration的类)中增加注解
-@EnableDubboApiDocs 以启用Dubbo Api Docs功能<ul><li>为避免增加生产环境中的资源占用,
建议单独创建一个配制类用于启用Dubbo Api Docs, 并配合 @Profile(“dev”) 注解使用</li><li>当然,
Dubbo Api Docs 仅在项目启动时多消耗了点CPU资源, 并使用了一点点内存用于缓存,
将来会考虑将缓存中的内容放到元数据中心.</li></ul></li></ul></li></ol><h3 id=当前版本-同dubbo版本号>当前版本:
同Dubbo版本号</h3><div class=highlight><pre tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span><
[...]
+@EnableDubboApiDocs 以启用Dubbo Api Docs功能<ul><li>为避免增加生产环境中的资源占用,
建议单独创建一个配制类用于启用Dubbo Api Docs, 并配合 @Profile(“dev”) 注解使用</li><li>当然,
Dubbo Api Docs 仅在项目启动时多消耗了点CPU资源, 并使用了一点点内存用于缓存,
将来会考虑将缓存中的内容放到元数据中心.</li></ul></li></ul></li></ol><h3 id=版本>版本</h3><p>当前版本:
同Dubbo版本号</p><div class=highlight><pre tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span
style=display:flex><span><dep [...]
</span></span><span style=display:flex><span>
<groupId>org.apache.dubbo</groupId>
</span></span><span style=display:flex><span>
<artifactId>dubbo-api-docs-annotations</artifactId>
</span></span><span style=display:flex><span>
<version>${dubbo-version}</version>
@@ -217,10 +217,10 @@ Dubbo-Api-Docs 相关注解,解析注解</li><li><a
href=https://github.com/KeRa
</span></span></code></pre></div><ol start=2><li><p>下载 <a
href=https://github.com/apache/dubbo-admin>dubbo-admin</a> <a
href=https://github.com/apache/dubbo-admin/releases>下载地址</a></p></li><li><p>启动
dubbo-admin</p></li><li><p>访问: http://
localhost:8080</p></li><li><p>进入"接口文档"模块</p></li></ol><h3
id=注解使用>注解使用</h3><ul><li>@EnableDubboApiDocs: 配制注解, 启用 dubbo api docs
功能</li><li>@ApiModule: 类注解, dubbo接口模块信息,用于标注一个接口类模块的用途<ul><li>value:
模块名称</li><li>apiInterface: 提供者实现的接口</li><li>version: 模块版本 [...]
使用的接口名是一样的,所以dubbo doc的接口采用直连方式以获取到不同功能服务的不同接口列表
测试可以直连或者走注册中心</p></blockquote><ul><li>响应bean(接口的返回类型)支持自定义泛型,
但只支持一个泛型占位符</li><li>关于Map的使用:Map的key只能用基本数据类型.如果Map的key不是基础数据类型,生成的
就不是标准json格式,会出异常</li><li>接口的同步/异步取自
org.apache.dubbo.config.annotation.Service.async</li></ul><h2
id=页面截图>页面截图</h2><p><img src=/imgs/admin/dubbo_docs_zh.png alt=页面截图></p><div
id=pre-footer><h2>反馈</h2><p class=feedback--prompt>此页是否对您有帮助?</p><button
class="btn btn-primary mb-4 feedback--yes">是</button>
-<button class="btn btn-primary mb-4
feedback--no">否</button></div><script>const
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disabled
[...]
+<button class="btn btn-primary mb-4
feedback--no">否</button></div><script>const
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disabled
[...]
<a
href="https://github.com/apache/dubbo-website/new/master/content/zh-cn/docsv2.7/admin/ops/apidocs.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+se
[...]
<a
href="https://github.com/apache/dubbo-website/issues/new?title=API%e6%96%87%e6%a1%a3&amp;%e6%b5%8b%e8%af%95"
target=_blank><i class="fab fa-github fa-fw"></i> 登记问题</a>
-<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> 提交项目问题</a></div><nav id=TableOfContents><ul><li><a
href=#dubbo-api-docs>dubbo api docs</a></li><li><a
href=#相关仓库>相关仓库</a></li><li><a href=#如何使用>如何使用?</a><ul><li><a
href=#当前版本-同dubbo版本号>当前版本: 同Dubbo版本号</a></li><li><a
href=#注解使用>注解使用</a></li><li><a href=#使用注意>使用注意</a></li></ul></li><li><a
href=#页面截图>页面截图</a></li></ul></nav></div></div></div></div><footer
class="bg-dark py-5 row d-print-none [...]
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> 提交项目问题</a></div><nav id=TableOfContents><ul><li><a
href=#dubbo-api-docs>dubbo api docs</a></li><li><a
href=#相关仓库>相关仓库</a></li><li><a href=#如何使用>如何使用?</a><ul><li><a
href=#版本>版本</a></li><li><a href=#注解使用>注解使用</a></li><li><a
href=#使用注意>使用注意</a></li></ul></li><li><a
href=#页面截图>页面截图</a></li></ul></nav></div></div></div></div><footer
class="bg-dark py-5 row d-print-none footer-margin-0"><div cla [...]
<script src=/js/bootstrap.min.js
integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy
crossorigin=anonymous></script>
<script
src=/js/main.min.a4534a01940be8c082c4c0e6777b61df9884f202b61c9519352adb6d1039d5aa.js
integrity="sha256-pFNKAZQL6MCCxMDmd3th35iE8gK2HJUZNSrbbRA51ao="
crossorigin=anonymous></script>
<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
diff --git a/zh-cn/docsv2.7/admin/ops/index.xml
b/zh-cn/docsv2.7/admin/ops/index.xml
index ea897546fe..2979ee08a6 100644
--- a/zh-cn/docsv2.7/admin/ops/index.xml
+++ b/zh-cn/docsv2.7/admin/ops/index.xml
@@ -99,7 +99,8 @@ Dubbo-Api-Docs 相关注解,解析注解</li>
</ul>
</li>
</ol>
-<h3 id="当前版本-同dubbo版本号">当前版本: 同Dubbo版本号</h3>
+<h3 id="版本">版本</h3>
+<p>当前版本: 同Dubbo版本号</p>
<div class="highlight"><pre tabindex="0"
style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-fallback" data-lang="fallback"><span
style="display:flex;"><span>&lt;dependency&gt;
</span></span><span style="display:flex;"><span>
&lt;groupId&gt;org.apache.dubbo&lt;/groupId&gt;
</span></span><span style="display:flex;"><span>
&lt;artifactId&gt;dubbo-api-docs-annotations&lt;/artifactId&gt;
diff --git a/zh-cn/sitemap.xml b/zh-cn/sitemap.xml
index 0346be8d00..d0509c8a86 100644
--- a/zh-cn/sitemap.xml
+++ b/zh-cn/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://dubbo.apache.org/zh-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7%B4%E5%B7%B4%E5%8D%87%E7%BA%A7-dubbo3-%E5%85%A8%E9%9D%A2%E5%8F%96%E4%BB%A3-hsf2/</loc><lastmod>2023-02-22T15:03:22+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url><url><loc>https://dubbo.apache.org/zh-cn/overview/mannual/jav
[...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://dubbo.apache.org/zh-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7%B4%E5%B7%B4%E5%8D%87%E7%BA%A7-dubbo3-%E5%85%A8%E9%9D%A2%E5%8F%96%E4%BB%A3-hsf2/</loc><lastmod>2023-02-22T15:03:22+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url><url><loc>https://dubbo.apache.org/zh-cn/overview/mannual/jav
[...]
\ No newline at end of file