升级:vitepress 1.0.0-alpha.64 => 1.0.0-alpha.66(官方本地搜索已上线)
This commit is contained in:
@@ -65,9 +65,9 @@ pnpm build
|
||||
|
||||
- [x] ~~徽章:标题后可显示徽章,此功能来自于 VitePress 未合并的 PR,如若后续被合并,则改用官方主题功能([官方已合并于 v1.0.0-alpha.27](https://github.com/vuejs/vitepress/issues/1239))~~
|
||||
|
||||
- [x] 本地文档搜索支持:VitePress 官方目前仅提供了对接 algolia 的在线搜索配置,而且对接起来的流程也较为麻烦。~~所幸寻到一个本地文档搜索插件 [emersonbottero/vitepress-plugin-search](https://github.com/emersonbottero/vitepress-plugin-search)。~~目前对接了 [vitepress-plugin-pagefind](https://www.npmjs.com/package/vitepress-plugin-pagefind) 本地搜索插件,中文搜索相对友好一些,如需体验,可将 `docs/vite.config.ts` 文件中的注释去除掉。目前 VitePress 官方有一个 PR 正在处理离线搜索功能,再过段时间应该就能合并了,到时候体验一下试试看。
|
||||
- [x] ~~本地文档搜索支持:VitePress 官方目前仅提供了对接 algolia 的在线搜索配置,而且对接起来的流程也较为麻烦。所幸寻到一个本地文档搜索插件 [emersonbottero/vitepress-plugin-search](https://github.com/emersonbottero/vitepress-plugin-search)。目前对接了 [vitepress-plugin-pagefind](https://www.npmjs.com/package/vitepress-plugin-pagefind) 本地搜索插件,中文搜索相对友好一些,如需体验,可将 `docs/vite.config.ts` 文件中的注释去除掉。目前 VitePress 官方有一个 PR 正在处理离线搜索功能,再过段时间应该就能合并了,到时候体验一下试试看。~~
|
||||
|
||||
注意:本地文档搜索和 algolia 搜索无法同时使用,开启本地文档搜索后 algolia 搜索配置将不再生效。
|
||||
~~注意:本地文档搜索和 algolia 搜索无法同时使用,开启本地文档搜索后 algolia 搜索配置将不再生效。~~
|
||||
|
||||
- [x] Mermaid 流程图:在 Markdown 中绘制流程图、状态图、时序图、甘特图、饼图等,更多语法请参见:[Mermaid 官方文档](https://github.com/mermaid-js/mermaid/blob/develop/README.zh-CN.md) 。(Typora 编辑器也支持 `mermaid` 语法)
|
||||
|
||||
@@ -112,10 +112,6 @@ pnpm build
|
||||
|
||||

|
||||
|
||||
### 本地文档搜索
|
||||
|
||||

|
||||
|
||||
### Mermaid 流程图
|
||||
|
||||

|
||||
@@ -134,7 +130,6 @@ pnpm build
|
||||
- [xiaoxian521/pure-admin-utils-docs](https://github.com/xiaoxian521/pure-admin-utils-docs) (参考词云组件的使用)
|
||||
- [arco-design/arco-design-vue](https://github.com/arco-design/arco-design-vue) (使用部分组件及图标)
|
||||
- [antvis/G2plot](https://github.com/antvis/G2plot) (使用部分图表)
|
||||
- [vitepress-plugin-pagefind](https://www.npmjs.com/package/vitepress-plugin-pagefind) (VitePress 本地文档搜索插件,中文搜索相对友好一些)
|
||||
- [emersonbottero/vitepress-plugin-mermaid](https://github.com/emersonbottero/vitepress-plugin-mermaid) (VitePress Mermaid 流程图插件)
|
||||
- [mermaid-js/mermaid](https://github.com/mermaid-js/mermaid/blob/develop/README.zh-CN.md)
|
||||
- ......
|
||||
|
Reference in New Issue
Block a user