Fix doc error (#2969)
* fix #2926
* fix wrong doc link
* fix doc 404
* delete expired page 404 link
diff --git a/content/zh-cn/blog/news/openatom-opensopurce-competition-2024.md b/content/zh-cn/blog/news/openatom-opensopurce-competition-2024.md
index 8db1adb..bd2ae10 100644
--- a/content/zh-cn/blog/news/openatom-opensopurce-competition-2024.md
+++ b/content/zh-cn/blog/news/openatom-opensopurce-competition-2024.md
@@ -153,8 +153,7 @@
1. 后端: [https://github.com/apache/dubbo-kubernetes/tree/master/pkg/admin](https://github.com/apache/dubbo-kubernetes/tree/master/pkg/admin)
-2. 前端交互图:[http://101.34.253.152/2024-1-14-v0.0.7/](http://101.34.253.152/2024-1-14-v0.0.7/)
-3. 前端代码框架:https://github.com/apache/dubbo-kubernetes/tree/master/ui-vue3
+2. 前端代码框架:https://github.com/apache/dubbo-kubernetes/tree/master/ui-vue3
#### 4.3 参考资料
diff --git a/content/zh-cn/overview/mannual/java-sdk/upgrades-and-compatibility/service-discovery/service-discovery-samples.md b/content/zh-cn/overview/mannual/java-sdk/upgrades-and-compatibility/service-discovery/service-discovery-samples.md
index 4fab199..95f60a6 100644
--- a/content/zh-cn/overview/mannual/java-sdk/upgrades-and-compatibility/service-discovery/service-discovery-samples.md
+++ b/content/zh-cn/overview/mannual/java-sdk/upgrades-and-compatibility/service-discovery/service-discovery-samples.md
@@ -28,21 +28,24 @@
1. 全局开关
应用配置(可以通过配置文件或者 -D 指定)`dubbo.application.register-mode` 为 instance(只注册应用级)、all(接口级+应用级均注册)开启全局的注册开关,配置此开关后,默认会向所有的注册中心中注册应用级的地址,供消费端服务发现使用。
-> [参考示例](https://github.com/apache/dubbo-samples/blob/master/2-advanced/dubbo-samples-service-discovery/dubbo-servicediscovery-migration/dubbo-servicediscovery-migration-provider2/src/main/resources/dubbo.properties)
+> [参考示例](https://github.com/apache/dubbo-samples/blob/master/2-advanced/dubbo-samples-service-discovery/dubbo-servicediscovery-migration/dubbo-servicediscovery-migration-provider1/src/main/resources/application.yml)
```
# 双注册
-dubbo.application.register-mode=all
+dubbo:
+ registry:
+ register-mode: all
```
```
# 仅应用级注册
-dubbo.application.register-mode=instance
+dubbo:
+ registry:
+ register-mode: instance
```
2. 注册中心地址参数配置
注册中心的地址上可以配置 `registry-type=service` 来显示指定该注册中心为应用级服务发现的注册中心,带上此配置的注册中心将只进行应用级服务发现。
-> [参考示例](https://github.com/apache/dubbo-samples/blob/master/2-advanced/dubbo-samples-service-discovery/dubbo-demo-servicediscovery-xml/servicediscovery-provider/src/main/resources/spring/dubbo-provider.xml)
```xml
<dubbo:registry address="nacos://${nacos.address:127.0.0.1}:8848?registry-type=service"/>
diff --git a/content/zh-cn/overview/tasks/develop/generic.md b/content/zh-cn/overview/tasks/develop/generic.md
index ad4aa4d..1b20112 100644
--- a/content/zh-cn/overview/tasks/develop/generic.md
+++ b/content/zh-cn/overview/tasks/develop/generic.md
@@ -48,7 +48,7 @@
@Override
public void run(String... args) throws Exception {
- GenericService genericService = buildGenericService("org.apache.dubbo.samples.develop.DevelopService","group2","2.0");
+ GenericService genericService = buildGenericService("org.apache.dubbo.samples.develop.DevelopService","group1","1.0");
//传入需要调用的方法,参数类型列表,参数列表
Object result = genericService.$invoke("invoke", new String[]{"java.lang.String"}, new Object[]{"g1"});
System.out.println("GenericTask Response: " + JSON.toJSONString(result));
diff --git a/content/zh-cn/overview/tasks/mesh/_index.md b/content/zh-cn/overview/tasks/mesh/_index.md
index 7305f8e..4e10672 100755
--- a/content/zh-cn/overview/tasks/mesh/_index.md
+++ b/content/zh-cn/overview/tasks/mesh/_index.md
@@ -20,7 +20,7 @@
<div class="h-100 card shadow" href="#">
<div class="card-body">
<h4 class="card-title">
- <a href='{{< relref "./bookinfo-sidecar/" >}}'>Istio & Envoy Bookinfo 示例</a>
+ <a href='{{< relref "./migration/dubbo-mesh/" >}}'>Istio & Envoy 示例</a>
</h4>
<p>演示 Dubbo 服务接入基于 Envoy 代理的 Istio 服务网格体系。</p>
</div>
@@ -30,22 +30,12 @@
<div class="h-100 card shadow">
<div class="card-body">
<h4 class="card-title">
- <a href='{{< relref "./bookinfo-proxyless/" >}}'>Istio & Proxyless Bookinfo 示例</a>
+ <a href='{{< relref "./migration/proxyless/" >}}'>Istio & Proxyless 示例</a>
</h4>
<p>演示 Dubbo Proxyless 接入 Istio 服务网格体系。</p>
</div>
</div>
</div>
- <div class="col-sm col-md-6 mb-4">
- <div class="h-100 card shadow">
- <div class="card-body">
- <h4 class="card-title">
- <a href='{{< relref "./migration/" >}}'>老集群平滑迁移</a>
- </h4>
- <p>演示传统 Dubbo 微服务集群如何平滑迁移到 Istio 服务网格</p>
- </div>
- </div>
- </div>
</div>
<hr>
</div>