Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs($theme-default): add version badge to smooth-scroll (close #1930) #1939

Merged
merged 1 commit into from
Oct 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/docs/docs/theme/default-theme-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ next: ./my-next-page # Will overwrite 'nextLinks' property from themeConfig
---
```

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

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

Expand Down
2 changes: 1 addition & 1 deletion packages/docs/docs/zh/theme/default-theme-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ editLink: false
---
```

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

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

Expand Down