dumi icon indicating copy to clipboard operation
dumi copied to clipboard

feat: doc 模式支持搜索

Open CaanDoll opened this issue 5 years ago • 5 comments

Question

内容还是比较多,确实很需要搜索栏,但是又没必要切到site模式。且无意中也发现了doc模式的手机访问是有搜索栏的。希望能通过配置开启

Sample Code

CaanDoll avatar Nov 10 '20 03:11 CaanDoll

目前不支持,移动端模式下有其实应该是 bug…后续版本支持掉

PeachScript avatar Nov 10 '20 04:11 PeachScript

image site 模式移动端的搜索栏的图标不居中,这个是 bug 吗?还是故意这样设计?

zhaoyao91 avatar Nov 10 '20 17:11 zhaoyao91

是兼容性 bug,v1.1.0-rc.0 已修复

PeachScript avatar Nov 11 '20 08:11 PeachScript

希望能在doc模式下支持搜索。如果左侧菜单能支持三级就好了,现在就是gitbook想迁移过来发现有很多不同的地方

CaanDoll avatar Nov 11 '20 09:11 CaanDoll

Hello @CaanDoll. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please be sure to fill in the default template in the Pull Request, provide changelog/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!

你好 @CaanDoll,我们完全同意你的提议/反馈,欢迎直接在此仓库创建一个 Pull Request 来解决这个问题。请务必填写 Pull Request 内的预设模板,提供改动所需相应的 changelog、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。

github-actions[bot] avatar Dec 30 '20 10:12 github-actions[bot]

dumi v1 不再更新,欢迎升级到 v2(注:v2 没有 doc 模式了),issue 关闭

PeachScript avatar Jan 28 '23 10:01 PeachScript