This is an automated email from the ASF dual-hosted git repository.

zhongxjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 31ce6203369 fix front spacing (#3173)
31ce6203369 is described below

commit 31ce62033698954a7375ee469f0bcba2ff28d23f
Author: mfordjody <[email protected]>
AuthorDate: Tue Dec 23 22:14:28 2025 +0800

    fix front spacing (#3173)
---
 assets/scss/_custom.scss                                   | 14 +++++++-------
 .../overview/mannual/java-sdk/tasks/develop/springboot.md  |  7 ++++---
 .../overview/mannual/java-sdk/tasks/develop/springboot.md  |  7 ++++---
 3 files changed, 15 insertions(+), 13 deletions(-)

diff --git a/assets/scss/_custom.scss b/assets/scss/_custom.scss
index 8fe6d295666..bf24cf04482 100755
--- a/assets/scss/_custom.scss
+++ b/assets/scss/_custom.scss
@@ -786,7 +786,7 @@ body.td-documentation #announcement + .header-hero {
 
 body.td-documentation {
   font-size: 16px;
-  line-height: 1.7;
+  line-height: 1.8;
 
   .td-main {
     padding-top: 62px;
@@ -910,7 +910,7 @@ figure.release-logo {
 
 .td-content {
   font-size: 16px;
-  line-height: 1.7;
+  line-height: 1.0;
 }
 
 .td-content .row,
@@ -987,7 +987,7 @@ body.td-documentation .td-main > .row > main .td-content 
.card {
 .td-content {
   p {
     font-size: 15px;
-    line-height: 1.2;
+    line-height: 1.1;
     margin-bottom: 1.25rem;
   }
 
@@ -1022,13 +1022,13 @@ body.td-documentation .td-main > .row > main 
.td-content .card {
 
   ul, ol {
     font-size: 14px;
-    line-height: 1.0;
+    line-height: 2;
     margin-bottom: 1.25rem;
     padding-left: 2rem;
 
     li {
-      margin-bottom: 0.5rem;
-      line-height: 1.0;
+      margin-bottom: 0.7rem;
+      line-height: 1.3;
     }
   }
 
@@ -1181,7 +1181,7 @@ body.td-documentation .td-main > .row > main .td-content 
.card {
   ul:has(+ pre) {
     padding-left: 0;
     margin-left: 0;
-    height: 0.8rem
+    height: 1.2rem
   }
 
   p + .highlight,
diff --git a/content/en/overview/mannual/java-sdk/tasks/develop/springboot.md 
b/content/en/overview/mannual/java-sdk/tasks/develop/springboot.md
index 983d6bb157c..c8c2ac2b1f2 100644
--- a/content/en/overview/mannual/java-sdk/tasks/develop/springboot.md
+++ b/content/en/overview/mannual/java-sdk/tasks/develop/springboot.md
@@ -104,7 +104,9 @@ public class ProviderConfiguration {
 
 ### Dubbo Annotations
 * `application.properties` or `application.yml` configuration files.
-* `@DubboService`, `@DubboReference`, and `EnableDubbo` annotations. Among 
them, `@DubboService` and `@DubboReference` are used to mark Dubbo services, 
while `EnableDubbo` starts Dubbo-related configurations and specifies the 
package path for Spring Boot scanning.
+* Annotations
+    * `@DubboService` and `@DubboReference`: mark Dubbo services.
+    * `@EnableDubbo`: enables Dubbo configuration and sets Spring Boot scan 
packages.
 
 #### @DubboService Annotation
 
@@ -194,8 +196,7 @@ 
dubbo.reference.org.apache.dubbo.springboot.demo.DemoService.timeout=6000
 
 ## More Microservice Development Patterns
 * [Pure API Development Pattern](../api/)
-* Other Spring Development Patterns
-    * [Spring 
XML](/en/overview/mannual/java-sdk/reference-manual/config/spring/xml/)
+* Other Spring Development Patterns: [Spring 
XML](/en/overview/mannual/java-sdk/reference-manual/config/spring/xml/)
 
 ## Relationship Between Dubbo and Spring Cloud
 
diff --git 
a/content/zh-cn/overview/mannual/java-sdk/tasks/develop/springboot.md 
b/content/zh-cn/overview/mannual/java-sdk/tasks/develop/springboot.md
index 188431e4fff..a464de53a83 100644
--- a/content/zh-cn/overview/mannual/java-sdk/tasks/develop/springboot.md
+++ b/content/zh-cn/overview/mannual/java-sdk/tasks/develop/springboot.md
@@ -110,7 +110,9 @@ public class ProviderConfiguration {
 
 ### Dubbo 注解
 * `application.properties` 或 `application.yml` 配置文件。
-* `@DubboService`、`@DubboReference` 与 `EnableDubbo` 注解。其中 `@DubboService` 与 
`@DubboReference` 用于标记 Dubbo 服务,`EnableDubbo` 启动 Dubbo 相关配置并指定 Spring Boot 
扫描包路径。
+* 注解
+    * `@DubboService` 与 `@DubboReference`:用于标记 Dubbo 服务。
+    * `@EnableDubbo`:启动 Dubbo 相关配置并指定 Spring Boot 扫描包路径。
 
 #### @DubboService 注解
 
@@ -201,8 +203,7 @@ 
dubbo.reference.org.apache.dubbo.springboot.demo.DemoService.timeout=6000
 
 ## 更多微服务开发模式
 * [纯 API 开发模式](../api/)
-* 其他 Spring 开发模式
-    * [Spring 
XML](/zh-cn/overview/mannual/java-sdk/reference-manual/config/spring/xml/)
+* 其他 Spring 开发模式:[Spring 
XML](/zh-cn/overview/mannual/java-sdk/reference-manual/config/spring/xml/)
 
 ## Dubbo 与 Spring Cloud 的关系
 Dubbo 与 Spring Cloud 
是两套平行的微服务开发与解决方案,两者都提供了微服务定义、发布、治理的相关能力,对于微服务开发者来说,我们建议在开发之初就确定好 Apache Dubbo 与 
Spring Cloud 
之间的选型,尽量避免两个不同体系在同一集群中出现,以降低集群维护复杂度。而对于一些确需两套体系共存的场景,为了解决相互之间的通信问题,我们提供了 [Dubbo 
与 Spring Cloud 
异构微服务体系互通最佳实践](/zh-cn/blog/2023/10/07/微服务最佳实践零改造实现-spring-cloud-apache-dubbo-互通/)
 解决方案。

Reply via email to