提交 786bed28 编写于 作者: EvanOne(文一)'s avatar EvanOne(文一)

docs: Update docs with copy & assist function

上级 dd0856f0
......@@ -62,6 +62,10 @@ module.exports = {
text: 'Third part',
link: '/advanced/third-part',
},
{
text: 'Assist function',
link: '/advanced/assist',
},
],
},
],
......@@ -96,6 +100,10 @@ module.exports = {
text: '第三方支持',
link: '/zh-CN/advanced/third-part',
},
{
text: '辅助功能',
link: '/zh-CN/advanced/assist',
},
],
},
],
......@@ -112,7 +120,8 @@ function getEnSidebar(title) {
children: [
'/guide/',
'/advanced/theme-config',
'/advanced/third-part'
'/advanced/third-part',
'/advanced/assist',
],
},
];
......@@ -126,7 +135,8 @@ function getZhSidebar(title) {
children: [
'/zh-CN/guide/',
'/zh-CN/advanced/theme-config',
'/zh-CN/advanced/third-part'
'/zh-CN/advanced/third-part',
'/zh-CN/advanced/assist',
],
},
];
......
# Assist function
**There is currently no English document, I will finish it as soon as possible. You can refer to the Chinese document first.**
> If you are interested, you can help me improve the English documentation through [PR](https://github.com/liuyib/hexo-theme-stun/pulls), I will be very grateful.
# 辅助功能
## 快捷键
- 快速切换文章 <Badge text="stable"/> <Badge text="v1.0.4"/>
当你浏览文章时,如果不想通过鼠标点击按钮来切换文章,那么你可以使用键盘的左右箭头(`←``→`)来快速切换文章。
- 快速关闭搜索框 <Badge text="stable"/> <Badge text="v1.0.3"/>
关闭搜索框有三种方式,1. 点击关闭按钮,2. 点击蒙版,3. 按下 `Esc` 键。
......@@ -105,7 +105,10 @@ function popAlert(status, text, delay) {
duration: 300
}).velocity('reverse', {
delay: delay * 1000 || 5000,
duration: 260
duration: 260,
complete: function() {
$('.stun-alert').css('display', 'none');
}
})
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册