Skip to content

Commit

Permalink
docs: document beta status for SW-update popup
Browse files Browse the repository at this point in the history
  • Loading branch information
shaun554 committed Jul 31, 2018
1 parent 9ec1579 commit c42b669
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/default-theme-config/README.md
Expand Up @@ -364,7 +364,7 @@ The `themeConfig.serviceWorker` option allows you to configure about service wor
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**.
:::

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

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.

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/default-theme-config/README.md
Expand Up @@ -359,7 +359,7 @@ module.exports = {
请不要将本选项与 [Config > serviceWorker](../config/README.md#serviceworker) 混淆,[Config > serviceWorker](../config/README.md#serviceworker) 是网站级别的配置,而本选项是主题级别的配置。
:::

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

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

Expand Down

0 comments on commit c42b669

Please sign in to comment.