Skip to content

Commit d179a94

Browse files
meteorlxybillyyyyy3320
authored andcommitted
docs($theme-default): add version badge to smooth-scroll (close: #1930)(#1939)
1 parent 770ba72 commit d179a94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/docs/docs/theme/default-theme-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ next: ./my-next-page # Will overwrite 'nextLinks' property from themeConfig
456456
---
457457
```
458458

459-
## Smooth Scrolling
459+
## Smooth Scrolling <Badge text="1.2.0+" />
460460

461461
The `themeConfig.smoothScroll` option allows you to enable smooth scrolling.
462462

packages/docs/docs/zh/theme/default-theme-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ editLink: false
434434
---
435435
```
436436

437-
## 页面滚动
437+
## 页面滚动 <Badge text="1.2.0+" />
438438

439439
你可以通过 `themeConfig.smoothScroll` 选项来启用页面滚动效果。
440440

0 commit comments

Comments
 (0)