Skip to content

Commit d9301fe

Browse files
committed
docs: document beta status for SW-update popup
ref: #677
1 parent 5084fca commit d9301fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/default-theme-config/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ The `themeConfig.serviceWorker` option allows you to configure about service wor
364364
Please do not confuse this option with [Config > serviceWorker](../config/README.md#serviceworker), [Config > serviceWorker](../config/README.md#serviceworker) is **site-level**, while this option is **theme-level**.
365365
:::
366366

367-
### Popup UI to refresh contents <Badge text="0.13.0+"/>
367+
### Popup UI to refresh contents <Badge text="0.13.0+"/> <Badge text="beta" type="warn"/>
368368

369369
The `themeConfig.serviceWorker.updatePopup` option enables the popup to refresh contents. The popup will be shown when the site is updated (i.e. service worker is updated). It provides `refresh` button to allow users to refresh contents immediately.
370370

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ module.exports = {
359359
请不要将本选项与 [Config > serviceWorker](../config/README.md#serviceworker) 混淆,[Config > serviceWorker](../config/README.md#serviceworker) 是网站级别的配置,而本选项是主题级别的配置。
360360
:::
361361

362-
### 刷新内容的弹窗 <Badge text="0.13.0+"/>
362+
### 刷新内容的弹窗 <Badge text="0.13.0+"/> <Badge text="beta" type="warn"/>
363363

364364
开启 `themeConfig.serviceWorker.updatePopup` 选项,将开启一个能够刷新内容的弹窗。当网站更新(即 Service Worker 更新)时,它会提供一个 `refresh` 按钮,允许用户立刻刷新内容。
365365

0 commit comments

Comments
 (0)